-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
importlib_metadata remove deprecated entry point interfaces #7785
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
Conversation
09a15c9 to
286950e
Compare
286950e to
d3addea
Compare
abfed34 to
c74fe27
Compare
Codecov ReportBase: 89.60% // Head: 89.59% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #7785 +/- ##
==========================================
- Coverage 89.60% 89.59% -0.01%
==========================================
Files 128 128
Lines 15871 15877 +6
Branches 2116 2117 +1
==========================================
+ Hits 14221 14225 +4
- Misses 1421 1423 +2
Partials 229 229
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
690ef84 to
db18763
Compare
3b428fb to
6ba7f4a
Compare
|
Either this or #7782 |
ceedcb6 to
f77e98a
Compare
|
with a new kombu release, the doc build is still failing, on python 3.7 first as per the doc build |
|
The doc build installs |
…n 3.12 This commit makes the following changes to address deprecations and removals in Python 3.12: - Replace usage of `pkg_resources` with `importlib` as `pkg_resources` is deprecated and will be removed in December 2025. see: https://setuptools.pypa.io/en/stable/history.html#v80-9-0 - Upgrade `celery` to version `5.3.0` which includes fixes for the `entry_points` interface change in 3.12. This change was necessary to address unit test failures in 3.12. see: celery/celery#7785 - Replace `assertEquals` with `assertEqual` in unit tests as `assertEquals` has been removed in 3.12. see: https://docs.python.org/3.12/whatsnew/3.12.html#unittest-testcase-removed-aliases This commit also includes the following changes as a consequence of the above updates: - Update `startup_procedures.py` to enable use of 3.12. - In the `tests.yml` workflow, add 3.12 to the versions matrix. In addition, this commit also makes the following change: - Update `pre-commit/action` to the latest version `v3.0.1` to address the following runtime error with `v.2.0.0`: github.com/actions/cache/issues/820
Closes #7783
See python/importlib_metadata#405