Skip to main content

Utilities jointly used by devpi-server, devpi-client and others.

Project description

This package contains utility functions used by devpi-server and devpi-client.

See http://doc.devpi.net for more information.

Changelog

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.

4.0.2 (2023-10-15)

Bug Fixes

  • Do not mark commands with returncode None from tox 4.x as failed.

4.0.1 (2023-10-15)

Bug Fixes

  • Restore flushing after each written line in new TerminalWriter.

4.0.0 (2023-10-11)

Deprecations and Removals

  • Removed HTMLPage class originally vendored from pip.

  • Dropped support for Python <= 3.6.

Features

  • Add chdir context handler in devpi_common.contextlib. Starting with Python 3.11 the original from contextlib is used.

  • Hide username from URL representation.

  • Added stripped down TerminalWriter from py library which only supports coloring.

Bug Fixes

  • Fix #939: custom legacy version parsing (non PEP 440) after packaging >= 22.0 removed support.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devpi_common-4.0.4.tar.gz (421.7 kB view hashes)

Uploaded Source

Built Distribution

devpi_common-4.0.4-py3-none-any.whl (16.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page