Skip to content

Conversation

@wosc
Copy link
Contributor

@wosc wosc commented Aug 29, 2025

No description provided.

wosc added 3 commits August 29, 2025 10:57
…esources

I'm not sure in which circumstance DistributionNotFound may have been
raised here previously, why it has been desireable to suppress that,
and what the current machinery would raise instead, but if in doubt
I'd rather have a warning than things silently not working.
@hansingt
Copy link

@amol- : Would it be possible to review this change and create a new release soon? The deprecated pkg_resources package is slated for removal on 11-30-2025 and this would cause beaker to break with newer versions of setuptools.

beaker/cache.py Outdated
RuntimeWarning, 2)
except ImportError:
pass
from StringIO import StringIO # Python2
Copy link
Collaborator

@amol- amol- Nov 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beaker currently declares official support only for Python 3, so no need to add the backward compatible code for Python2. Especially since importlib didn't even exist on py2

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, this py2-compat code (which was already present, I did not add it) is rather obsolete now; I'll remove it.

It especially makes no sense now anymore, since importlib is python-3 only.
@amol-
Copy link
Collaborator

amol- commented Nov 28, 2025

@wosc
Copy link
Contributor Author

wosc commented Dec 2, 2025

@amol- could you trigger the CI again? I amended the previous commit.

@amol-
Copy link
Collaborator

amol- commented Dec 3, 2025

@amol- could you trigger the CI again? I amended the previous commit.

It would be great if I didn't have to manually trigger the CI every time, but that sadly is part of the project settings and I think only @bbangert can change it 😅

@wosc
Copy link
Contributor Author

wosc commented Dec 3, 2025

Thank you! And on the bright side: the backwards compatibility angle seems to be alright now.

@amol- amol- merged commit 96283fe into bbangert:master Dec 3, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants