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.15.0 (2025-05-18)

Features

  • Add --connection-limit option to devpi-server passed on to waitress.

6.14.0 (2024-10-16)

Features

  • Allow pushing of versions which only have documentation and no releases.

  • Allow pushing of release files only with no documentation. Requires devpi-client 7.2.0.

  • Allow pushing of documentation only with no release files. Requires devpi-client 7.2.0.

Bug Fixes

  • No longer automatically “register” a project when pushing releases to PyPI. The reply changed from HTTP status 410 to 400 breaking the upload. With devpi-client 7.2.0 there is a --register-project option if it is still required for some other package registry.

6.13.0 (2024-09-19)

Deprecations and Removals

  • Remove/Deprecate “master” related terminology in favor of “primary”. Usage related changes are the switch to --primary-url instead of --master-url and --role=primary instead of --role=master. Using the old terms will now output warnings. The +status API has additional fields and the role field content will change with 7.0.0.

Features

  • Enable logging command line options for all commands.

  • Added support uv pip as an installer.

Bug Fixes

  • Don’t report on lagging event processing while replicating.

  • Report primary serial correctly with streaming replication.

  • Don’t store file data in memory when fetching a release while pushing from a mirror.

  • Only warn about replica not being in sync instead of fatal status while still replicating.

6.12.1 (2024-07-24)

Bug Fixes

  • Support Python 3.13 by depending on legacy-cgi.

  • Preserve query string when proxying requests from replica to primary. This fixes force removal on non-volatile indexes and probably other bugs.

  • Fix #1044: Correctly update cache expiry time when mirrored server returns 304 Not Modified.

6.12.0 (2024-06-25)

Features

  • Added devpiserver_on_toxresult_store hook to allow blocking or skipping a toxresult upload on more specific conditions as acl_toxresult_upload would allow.

  • Added devpiserver_on_toxresult_upload_forbidden hook to allow returning a custom message and result (403 or 200).

Bug Fixes

  • Return json data if toxresult upload is forbidden.

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.15.0.tar.gz (271.1 kB view details)

Uploaded Source

Built Distribution

devpi_server-6.15.0-py3-none-any.whl (285.8 kB view details)

Uploaded Python 3

File details

Details for the file devpi-server-6.15.0.tar.gz.

File metadata

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

File hashes

Hashes for devpi-server-6.15.0.tar.gz
Algorithm Hash digest
SHA256 5733c37f13838fc7b2758363847be9312c75cf6f462df80318ee09bbe790a50f
MD5 6c97e6fe8c34e1bd9ee2929ca16ca33f
BLAKE2b-256 8ba42f2bdc54710d05b0da09059821f6bbd4dcdfdc26b2a41ea095a9781d5aa6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for devpi_server-6.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cdee2123dc2f9ece26b99a42a7968dcb8c5af6a082618fb6c53a7ef3595020b
MD5 5949dcbd28bcd214919f33c57c28f58c
BLAKE2b-256 cf1aa66a6c14f25dfae1489f8397c7238d6748634f9dd298cec118a630a5ffdf

See more details on using hashes here.

Supported by

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