Skip to main content

devpi-server: reliable private and pypi.org caching server

Project description

devpi-server: server for private package indexes and PyPI caching

PyPI cache

You can point pip or easy_install to the root/pypi/+simple/ index, serving as a transparent cache for pypi-hosted packages.

User specific indexes

Each user (which can represent a person, project or team) can have multiple indexes and upload packages and docs via standard twine or setup.py invocations. Users and indexes can be manipulated through devpi-client and a RESTful HTTP API.

Index inheritance

Each index can be configured to merge in other indexes so that it serves both its uploads and all releases from other index(es). For example, an index using root/pypi as a parent is a good place to test out a release candidate before you push it to PyPI.

Good defaults and easy deployment

Get started easily and create a permanent devpi-server deployment including pre-configured templates for nginx and process managers.

Separate tool for Packaging/Testing activities

The complementary devpi-client tool helps to manage users, indexes, logins and typical setup.py-based upload and installation workflows.

See https://doc.devpi.net on how to get started and further documentation.

Support

If you find a bug, use the issue tracker at Github.

For general questions use GitHub Discussions or the devpi-dev@python.org mailing list.

For support contracts and paid help contact mail at pyfidelity.com.

Changelog

6.11.0 (2024-04-20)

Features

  • The devpi-fsck script now returns an error code when there have been missing files or checksum errors.

  • Fix #983: Add plugin hook for mirror authentication header.

Bug Fixes

  • Preserve last modified of docs and toxresults during export/import.

  • Fix #1033: Use int for --mirror-cache-expiry to fix value of proxy_cache_valid in nginx caching config.

6.10.0 (2023-12-19)

Features

  • Use Authorization header instead of adding username/password to URL when fetching from mirror.

  • Fix #998: Use the pure Python httpx library instead of aiohttp to prevent delays in supporting newest Python releases.

Bug Fixes

  • Fix #996: support hashes other than sha256 in application/vnd.pypi.simple.v1+json responses.

  • Only compare hostname instead of full URL prefix when parsing mirror packages to fix mirrors with basic authentication and absolute URLs. See #1006

6.9.2 (2023-08-06)

Bug Fixes

  • Prevent duplicates when adding values to lists in index configuration with += operator.

6.9.1 (2023-07-02)

Bug Fixes

  • Prevent error in find_pre_existing_file in case of incomplete metadata.

  • Fix #980: Remove long deprecated backward compatibility for old pluggy versions to fix error with pluggy 1.1.0.

6.9.0 (2023-05-23)

Features

  • Support export directory layout for --replica-file-search-path option.

  • Fix #931: Add mirror_no_project_list setting for mirror indexes that have no full project list like google cloud artifacts or if you want to prevent downloading the full list for huge indexes like PyPI.

Bug Fixes

  • Keep a reference to async tasks to avoid their removal mid execution.

  • Support changed default of enforce_content_length in urllib3 >= 2.

  • Fix #934: Properly set PATH_INFO when outside URL is used with sub-path.

  • Fix #945: Adapt FatalError to be usable as an async HTTP response when updating a project on a mirror.

  • Fix wrong hash metadata introduced in 6.5.0 for toxresults which prevents replication. The metadata can be fixed by an export/import cycle.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

devpi_server-6.11.0.tar.gz (266.4 kB view details)

Uploaded Source

Built Distribution

devpi_server-6.11.0-py3-none-any.whl (276.4 kB view details)

Uploaded Python 3

File details

Details for the file devpi_server-6.11.0.tar.gz.

File metadata

  • Download URL: devpi_server-6.11.0.tar.gz
  • Upload date:
  • Size: 266.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: devpi-server/6.11.0 (py3.8.11; linux)

File hashes

Hashes for devpi_server-6.11.0.tar.gz
Algorithm Hash digest
SHA256 e8e32d1f1978e85843b29dc9a8c4446a054287ef2b90fa25f4fb3d8978be9c76
MD5 4325a1fa8f0ae5079450dff27188e0bb
BLAKE2b-256 cb615e3ace38deba94752096d995e9ba36acae3dd95142be8df55a8888c5e8dd

See more details on using hashes here.

File details

Details for the file devpi_server-6.11.0-py3-none-any.whl.

File metadata

  • Download URL: devpi_server-6.11.0-py3-none-any.whl
  • Upload date:
  • Size: 276.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: devpi-server/6.11.0 (py3.8.11; linux)

File hashes

Hashes for devpi_server-6.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb7f797a88b43838cc37afd91062e43a0e2f49c809241134e321e82b86613480
MD5 1096b4f1132e0a4698941e95c051dc46
BLAKE2b-256 3dfa9cb88c9747a98dbf98659f9b5d2a4c0f9b1b69098c83c45984e461f70d6e

See more details on using hashes here.

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