1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
From: Alexandre Detiste <tchet@debian.org> and Julian Gilbey <jdg@debian.org>
Last-Update: 2025-05-11
Subject: Drop dependency on importlib-metadata
This is only used as a fallback when running under Python < 3.10, so we
don't need it in Debian.
Forwarded: not-needed
--- a/setup.py
+++ b/setup.py
@@ -274,7 +274,6 @@
'diff-match-patch>=20181111',
# While this is only required for python <3.10, it is safe enough to
# install in all cases and helps the tests to pass.
- 'importlib-metadata>=4.6.0',
'intervaltree>=3.0.2',
'ipython>=8.12.2,<8.13.0; python_version=="3.8"',
'ipython>=8.13.0,<9.0.0,!=8.17.1; python_version>"3.8"',
--- a/binder/environment.yml
+++ b/binder/environment.yml
@@ -17,7 +17,6 @@
- diff-match-patch >=20181111
- fcitx-qt5 >=1.2.7
- fzf >=0.42.0
-- importlib-metadata >=4.6.0
- intervaltree >=3.0.2
- ipython >=8.13.0,<9.0.0,!=8.17.1
- jedi >=0.17.2,<0.20.0
--- a/spyder/dependencies.py
+++ b/spyder/dependencies.py
@@ -42,7 +42,6 @@
CLOUDPICKLE_REQVER = '>=0.5.0'
COOKIECUTTER_REQVER = '>=1.6.0'
DIFF_MATCH_PATCH_REQVER = '>=20181111'
-IMPORTLIB_METADATA_REQVER = '>=4.6.0'
INTERVALTREE_REQVER = '>=3.0.2'
IPYTHON_REQVER = ">=8.12.2,<8.13.0" if PY38 else ">=8.13.0,<9.0.0,!=8.17.1"
JEDI_REQVER = '>=0.17.2,<0.20.0'
@@ -130,10 +129,6 @@
'package_name': "diff-match-patch",
'features': _("Compute text file diff changes during edition"),
'required_version': DIFF_MATCH_PATCH_REQVER},
- {'modname': 'importlib_metadata',
- 'package_name': 'importlib-metadata',
- 'features': _('Access the metadata for a Python package'),
- 'required_version': IMPORTLIB_METADATA_REQVER},
{'modname': "intervaltree",
'package_name': "intervaltree",
'features': _("Compute folding range nesting levels"),
--- a/requirements/main.yml
+++ b/requirements/main.yml
@@ -14,8 +14,6 @@
- cookiecutter >=1.6.0
- diff-match-patch >=20181111
- fzf >=0.42.0
- # Need at least some compatibility with python 3.10 features
- - importlib-metadata >=4.6.0
- intervaltree >=3.0.2
- ipython >=8.13.0,<9.0.0,!=8.17.1
- jedi >=0.17.2,<0.20.0
|