Skip to content

Cleanup dependencies#226

Open
gernot-h wants to merge 3 commits into
mainfrom
cleanup-dependencies
Open

Cleanup dependencies#226
gernot-h wants to merge 3 commits into
mainfrom
cleanup-dependencies

Conversation

@gernot-h

Copy link
Copy Markdown
Collaborator

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

gernot-h added 3 commits June 12, 2026 17:29
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.
@gernot-h gernot-h requested a review from tngraf June 12, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

old pinned dependency on Python "wheel" incompatible with newer versions on e.g. Debian 13

2 participants