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.5.1 (2022-04-25)

Bug Fixes

  • Fix traceback when trying to delete already deleted release or toxresult.

  • Preserve index config settings of plugins during import instead of aborting, even if the plugin isn’t installed during import.

6.5.0 (2022-03-18)

Features

  • Added --no-checksum option to devpi-fsck to skip checksum validation and only check for file existence.

  • Split keyfs cache into a small changelog cache and a relpath cache, this lowers overall memory usage and prevents cache trashing.

  • Lower memory usage by avoiding to read release files into memory and instead use existing file objects.

  • Switch to platformdirs from appdirs.

  • Add streaming replica protocol, which is faster and uses less memory, especially when rebuilding a replica.

  • Better logging and handling if a thread unexpectedly dies.

Bug Fixes

  • Fix #871: authentication info in mirror_url wasn’t passed on to release links anymore.

  • Open database connection after file was downloaded during replication to avoid conflicts and locking.

  • Avoid hashing data twice when writing to storage.

  • Close HTTP responses and sessions when done to free resources as early as possible instead of waiting for garbage collection.

6.4.0 (2022-01-24)

Deprecations and Removals

  • As announced with 6.0.0, support for Python 3.6 has been dropped, because it has reached its end of life.

Features

  • When an installer user agent is detected the full list of projects is returned unsorted and with less info to improve performance and reduce memory usage.

Bug Fixes

  • Use __slots__ for some classes to reduce memory usage.

  • Fix exceptions related to logging for some edge cases.

6.3.1 (2021-12-07)

Bug Fixes

  • Fix #864: enable settings from ~/.netrc and HTTP_PROXY/HTTPS_PROXY env vars for aiohttp.

6.3.0 (2021-11-19)

Features

  • Use aiohttp (asyncio) for fetching release links from mirrors to return stale links immediately in case of a timeout, but update the database in the background for the next request.

Bug Fixes

  • fix #853: prevent duplicate mirror indexes in sro method when there are multiple inheritance chains to the same mirror

  • fix #860: don’t check for existing files and validate them during mirror links update, the operation is way to expensive and there is a low possibility for errors.

  • Add missing lazy package dependency. Previously this was only a transitive dependency coming from the devpi-common package.

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

Uploaded Source

Built Distribution

devpi_server-6.5.1-py3-none-any.whl (251.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for devpi-server-6.5.1.tar.gz
Algorithm Hash digest
SHA256 4032ed326f65b67c1f3a5a32133b9b4d5322e7744ef66d2a5e3e27bed9e0018f
MD5 b45b4b99d6ed1aaf1c551957dbaabf06
BLAKE2b-256 94bcb0a286fc2c0cc070a79ff6b7d162009119c2eca51f127a1d7b7461fa3566

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for devpi_server-6.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bec44f9f04d3f4571b0afb88dd45ef95ce6273025fa95653a124633add712c78
MD5 0afe368766aac3def48293e57519b006
BLAKE2b-256 b4c44da735d0653412bf576ec729c4a14134622a6dd531d6ba874af3aec32804

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