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.
Python requirements update. Please review the changelogs for the upgraded packages.
NOTE: This pull request also includes the changes described below.
The tox quality environment is used to run quality tests (i.e.
pylint
,pycodestyle
, andisort
) on the codebase. This environment installs dependencies from both the test and quality requirement files.This has caused a dependency resolution error with the
importlib-metadata
dependency. In the test requirements,importlib-metadata
is a dependency of thelogilab-common
dependency, and this installsimportlib-metadata=6.11.0
. In the quality requirements,importlib-metadata
is a dependency of therstcheck
andrstcheck-core
dependencies, and this installsimportlib-metadata=7.0.1
. This causes a dependency resolution conflict when running the tox quality environment, because both the test and quality requirements files are installed in this environment, and versions6.11.0
and7.0.1
ofimportlib-metadata
are requested, respectively.The simplest solution is to remove the
logilab-common
dependency from the test requirements file, as it has no obvious purpose, particularly since this project does not explicitly installimportlib-metadata
andlogilab-common
,rstcheck
, andrstcheck-core
have very loose requirements ranges. This means we cannot easily ensure that the twoimportlib-metadata
package versions match by modifying our versions oflogilab-common
,rstcheck
, orrstcheck-core
. It was also not possible to remove the test requirements from the tox quality environment, because then the quality checks fail with import errors for modules used in the tests (e.g.mock
).Deleted obsolete pull_requests:
#1174