Repository navigation
Conversation
pkg_resources has been depracated and removed for some time now.
Bump pyconfig which used to relay on pkg_resources Closes #339
|
Hi @theseal , Thanks for this - nice to see this pending issue addressed. Overall, this does what it says on the label and moves pyFF code away from deprecated API. One question I'll just curiously asked - not requesting a change, just asking about the motivation: One other thing I got aware of: removing the upper bound on At the versions we currently use (apscheduler 3.6.3 and pyramid 2.0.2), both depend on We could upgrade these (and set a version lower bound):
Alternatively, we could also add a synthetic requirement on Cheers, PS: Disclaimer: the issue around setuptools version came from getting a second opinion from AI, but was confirmed by local testing. |
vladimir-mencl-eresearch
left a comment
There was a problem hiding this comment.
I think we should address the risk of setuptools being upgraded above 82
Prior versions didn't constrain setuptools to ensure present of pkg_resources (deprecated and removed in setuptools 82).
Based on internal discussion and a similar activity in eduid.se. We also see this as a project than a library so not sure if the ZIP package really applies? Nevertheless probably hypothetical as you say. Also
I was thinking of doing a bigger bump of depends in the coming days but you might be right that it's better to address this issue right away. Pushed a fix with constraint for the libraries you mention. |
vladimir-mencl-eresearch
left a comment
There was a problem hiding this comment.
Thanks for bumping those two dependencies: that removes the use of pkg_resources by apscheduler and safeguards the version in pyramid.
Happy with the explanation about using Path - OK with that.
All good to merge from my point of view.
pkg_resources has been depracated and removed for some time now.