- Update to version 6.11.0
* 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.
* 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.
- from version 6.10.0
* 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.
* 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
- Adjust upstream source name in spec file
- Remove unrecognized --slow parameter from pytest command line
- Update BuildRequires and Requires from setup.py
OBS-URL: https://build.opensuse.org/request/show/1177307
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-server?expand=0&rev=28
- Update to version 6.9.2:
* Prevent duplicates when adding values to lists in index
configuration with ``+=`` operator.
- Changes from version 6.9.1:
* Prevent error in find_pre_existing_file in case of incomplete
metadata.
* Remove long deprecated backward compatibility for old pluggy
versions to fix error with pluggy 1.1.0.
- Changes from version 6.9.0:
* 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.
OBS-URL: https://build.opensuse.org/request/show/1103327
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-server?expand=0&rev=23
- Version update to 6.7.0
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.
6.6.0 (2022-08-16)
==================
Features
--------
- Fix#592: return dict from list_projects_perstage of mirrors where the
values contain the un-normalized project name. This allows support in
devpi-web 4.1.0 to index them correctly.
- Check name in project list instead of fetching project page for mirrors.
This improves response times and avoids leaking typos of private package
names upstream.
- Use ETag header if provided by mirror to reduce bandwidth usage and
latency.
- Prevent concurrent updates of simple links on mirrors with a short lived
lock.
- Support PEP-691 conformant fetching for mirrors, and requests with JSON
result for installers. Proxy servers should add compression support for the
application/vnd.pypi.simple.v1+json content type (gzip_types for nginx).
Bug Fixes
---------
- Fix#743: support PEP427 escaped wheels with local version, where the + is
replaced by _.
- Fix#895: store and return content of data-yanked.
- Fix#908: include basic auth from mirror_url when fetching packages.
- Fix#914: switch to write transaction as late as possible when streaming a
file from a mirror.
OBS-URL: https://build.opensuse.org/request/show/1030317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-devpi-server?expand=0&rev=9
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.
6.6.0 (2022-08-16)
==================
Features
--------
- Fix#592: return dict from list_projects_perstage of mirrors where the
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-server?expand=0&rev=15
- version update to 6.5.1
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
--------
OBS-URL: https://build.opensuse.org/request/show/974391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-server?expand=0&rev=13
* Optimized some database access patterns. A new index is added to the
database on first startup. For large databases that can take a while.
* Improved performance of loads from database.
* Optimized memory and cache use for database access.
* Use frozenset for project name cache of mirror indexes. This mitigates
memory fragmentation on some Linux distributions.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-server?expand=0&rev=12
- Update to 6.1.0
* Proxy requests from replica to master are now streamed if possible.
* Dropped support for Python 2.7, 3.4 and 3.5. Python 3.x versions
will be supported until their EOL.
* Remove deprecated command line options which were replaced by
separate scripts.
* The user creation and modification time is now stored.
* add explicit ruamel.yaml dependency declaration after strictyaml
vendored it
* Allow user and index URLs to work with a trailing slash.
OBS-URL: https://build.opensuse.org/request/show/909936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-server?expand=0&rev=11
- Update to 5.4.1
* This is the last feature release with Python 2.7 support!
* Import won't abort anymore when a base index was removed.
The bases setting will be imported as is.
* The ``requires_python`` metadata is now included in version
data on mirror indexes.
* Downloaded files from mirrors can be included in exports with
the ``--include-mirrored-files`` option.
* On import files for mirror indexes are now imported when they
were included in the dump (see ``--include-mirrored-files``).
* Fix ``--no-root-pypi`` option when importing devpi data.
* Fix pushing from mirror to an index when the file was removed
and ``mirror_use_external_urls`` is active.
- Drop Python2 anyway because of pyramid dropping Python2
OBS-URL: https://build.opensuse.org/request/show/790869
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-server?expand=0&rev=7