Open
Conversation
Prefer importlib.metadata core library on Python >= 3.8 This gets rid of setuptools dependency from stopit users. Recent setuptools versions output a massive deprecation warning about pkg_resources usage: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html Also: update supported Python versions in setup.py with versions I have used stopit successfully on
This was referenced May 27, 2024
|
I also was troubled by this deprecation warning (triggered via snakemake), and identified the same (As an aside, if you are looking for a volunteer to help with or take over maintenance of the package, reaching out to the snakemake community seems sensible.) |
This was referenced Aug 7, 2024
|
shippppppppp it 🚢 🚢 |
Contributor
Author
Shipped it at https://github.com/kajaste/overdue (implemented the same idea in modern Python and tooling) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prefer
importlib.metadatacore library which is available on Python >= 3.8This gets rid of
setuptoolsdependency forstopitusers. Recentsetuptoolsversions output a massive deprecation warning aboutpkg_resourcesusage wheneverstopitis imported:Additionally, not all Python environments have
setuptoolsthese days, which makesimport stopitfail.Also: update supported Python versions in
setup.pywith versions I have successfully usedstopitonPS. Thank you so much for the awesome library. It has helped me through several hardships over the years