-
-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop usage of pkg_resources
#553
Drop usage of pkg_resources
#553
Conversation
@althonos the tests that fail seem to do so (rather randomly?) due to a
|
Is there any progress on this? The CI logs are not available anymore |
@matrss tbh the project feels abandoned 😢 |
I occasionally review some of the PRs in this project, but I don't know anything about the code being modified here, so I won't be reviewing this one.
Yeah, see also #317 |
oh.. @willmcgugan is it so? |
@anthrotype : Well, technically @willmcgugan is not maintaining this anymore (see #422), so I would be the main maintainer, but with my PhD going on I don't have a lot of time to allocate to this, and I've been fine with the "if it's not broken don't fix it" for now. But we definitely need to sit down on a version 3 at some point because these sort of issues are piling up. |
oh, I somehow missed that, thanks for the clarification/reminder.
definitely makes sense. Good luck with the PhD! |
@althonos would you like some help maintaining it ? |
I'm probably missing something since the CI logs are long gone... Why would this fail at all? A DeprecationWarning should not cause CI failures since the pytest config doesn't appear to be catching it as an error. You just get:
|
Either way I think the obviously correct approach is to handle a fallback to the legacy API if needed, since that means you don't have to block this PR on resolving the python2 question. |
hello! what it would take to get this PR to the finish line? |
41fcac4
to
64fef6e
Compare
64fef6e
to
7fa40c4
Compare
The flaky 3.10 tests pass locally 🤔 |
That doesn't look like a flake to me -- it's running on python 3.7, not 3.10. And, as I said above:
But currently you're exclusively using the legacy API, which is broken. |
I'm closing the PR since I won't be able to finish this any time soon :) |
Unfortunately, with Python 3.12, it is broken now. Installing PyFilesystem2 seems to still work, but trying to import it, I get:
|
Type of changes
Checklist
Description
Drop
pkg_resources
in favor of theimportlib.metadata
API.Closes #356