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.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.

6.8.0 (2022-12-05)

Features

  • Fix #929: Cache normalized project names per transaction on mirror index instances.

Bug Fixes

  • Fix #914: add locking to list_projects_perstage of mirror indexes to prevent multiple slow concurrent updates of the full project name list.

  • Catch exceptions in async_httpget analog to httpget.

  • Add locking to mirror name cache to prevent race condition on updates.

6.7.0 (2022-09-28)

Features

  • Add nginx example to devpi-gen-config with caching of simple pages for installers like pip.

  • Automatically check for +files when using --replica-file-search-path.

  • Set headers to prevent caching for simple links with stale results.

Bug Fixes

  • Fix #840: Correct url scheme in config if nginx is behind another proxy.

6.6.1 (2022-09-12)

Bug Fixes

  • Fix slowdown introduced in 6.6.0 when simple links for mirrors are requested more than once in the same thread.

  • Removed preservation of original server uuid during import. Imported state is different from the original server. Replicas could not detect the change and get into an inconsistent state.

  • Prevent cache trashing when updating simple links on mirrors for projects with huge number of releases.

  • Preserve toxresult filenames during import to keep them being accessible on the same URLs after the fix for #686 in 5.2.0.

Project details


Release history Release notifications | RSS feed

This version

6.9.1

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

Uploaded Source

Built Distribution

devpi_server-6.9.1-py3-none-any.whl (271.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for devpi-server-6.9.1.tar.gz
Algorithm Hash digest
SHA256 291bf313a478933a461c8d8e9d16ca40fd0298407c979e469f63bfb93e5a850b
MD5 ac499e73f6191be91ce7f77bfff4f59a
BLAKE2b-256 e37401e46f1b3edaf1292d3c4cf5c94798d6bd1f02df80989d9405a49ec64c56

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for devpi_server-6.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4d73e08015b9a2a24c959215ec4bb943b6217b1db71ec9e3caa34222965556b
MD5 9fbdf0910dd7f7e7505eaacc6d58c056
BLAKE2b-256 7629e7bce17f8e108cf439e01cb79fc3b19c794b4b422f35f859c9e86aa307d6

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