Cleanup dependencies#226
Open
gernot-h wants to merge 3 commits into
Open
Conversation
We require Python 3.11 anyways these days.
We require Python 3.11 anyways these days.
pyproject.toml should only list the dependencies directly used by
CaPyCli, so remove any indirect or outdated dependencies. This also
fixes a conflict with the newer "wheel" version on Debian trixie:
[...]
Installing collected packages: spinners, sortedcontainers, pytz, boolean.py, wheel, urllib3, tzlocal, typing-extensions, types-setuptools, termcolor, soupsieve, six, semver, rpds-py, regex, pyjwt, packageurl-python, license-expression, importlib-resources, et-xmlfile, defusedxml, colorama, cli-support, attrs, validation, requirements-parser, requests, referencing, python-dateutil, py-serializable, openpyxl, log_symbols, beautifulsoup4, sw360, jsonschema-specifications, halo, dateparser, cyclonedx-python-lib, jsonschema, capycli
Attempting uninstall: wheel
Found existing installation: wheel 0.46.1
error: uninstall-no-record-file
× Cannot uninstall wheel 0.46.1
╰─> The package's contents are unknown: no RECORD file was found for wheel.
hint: The package was installed by debian. You should check if it can uninstall the package.
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.
Due to #225, I checked which of the dependencies specified in pyproject.toml are really needed and during that check, I (or better Claude) also identified some Python code supporting very old Python versions. So this PR suggests a number of cleanups to get rid of unneeded dependencies and dead code.
Fixes #225