Utilities jointly used by devpi-server, devpi-client and others.
Maintained. Last release 5 weeks ago, commits in 11 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install devpi-commonThis package contains utility functions used by devpi-server and devpi-client.
See http://doc.devpi.net for more information.
=========
Changelog
=========
.. towncrier release notes start
4.1.2 (2026-10-26)
==================
Bug Fixes
---------
- Fix check for relative paths when extracting archives.
Reported by ffasterss and shirabe0x05
https://github.com/devpi/devpi/security/advisories/GHSA-5qcc-697r-rj64
- Avoid packaging prerelease deprecation warnings when parsing requirements while retaining prerelease matching.
4.1.1 (2026-02-09)
==================
Bug Fixes
---------
- Implement missing __hash__ for Version and CompareMixin classes.
- Fix ``py.typed`` to properly export type information.
4.1.0 (2025-05-18)
==================
Other Changes
-------------
- Use ``__slots__`` to reduce memory usage of ``Version``.
4.0.4 (2024-04-20)
==================
Bug Fixes
---------
- Use ``filter='data'`` for ``extractall`` call on supported Python versions as additional guard to the existing out of path checks against malicious tar files.
- Remove custom ``LegacyVersion`` and use ``packaging-legacy`` instead, which is also used by pypi.org.
4.0.3 (2023-11-23)
==================
Bug Fixes
---------
- Add ``is_prerelease`` and other methods to ``LegacyVersion`` to fix ``get_sorted_versions`` with ``stable=True`` and some other cases.