Skip to content

Releases: pypa/bandersnatch

6.1.0

03 Jan 04:39

Choose a tag to compare

New Features

  • Add a packages config under [filter_prerelease] for prerelease filter to filter only specified packages. PR #1328

Dropped Support

  • Dropped LegacyVersion support for latest_name plugin PR #1315
  • No longer issue PURGE requests on StalePage exceptions as PyPI now requires authentication PR #1335

CI

  • Format with black --preview style PR #1313
    • I contribute to black and want to help find bugs ...

6.0.1

24 Oct 10:41

Choose a tag to compare

Bug Fixes

  • Fixed JSON only mirroring adding correct path to diff_file_list PR #1248
  • Fixed requirements file parsing when it contains pip options PR #1231

New Features

  • Added the possibility to limit the time range in which the docker image runner can execute the bandersnatch mirroring activity.
    This can be done by providing an optional command line argument with like --hours-range 23-7 where the interval is expressed
    as <start_hour>-<end_hour>. PR #1232
  • Add support for globbing in the allowed requirements list.
    User can specify requirements*.txt or *.txt to merge multiple requirements files PR #1230

6.0.0

01 Sep 04:02
e455dda

Choose a tag to compare

  • Add PEP691 simple index support PR #1154
  • Add example nginx serving for PEP 691 PR #1161

Big change to Simple API generation code and Simple API storage will double with the default of ALL formats. Please tune your config if you only want one format.

5.3.0

29 Jul 23:53

Choose a tag to compare

New Features

  • Add delete and verify support in s3 (and maybe swift) storage backend PR #1142
  • Add --skip-simple-root option for bandersnatch sync command PR #1145

Other

  • Replace pyup with dependabot
    • Resulted in lots of dependencies updating
  • Docs typo fixes

5.2.0

02 May 20:08

Choose a tag to compare

5.2.0 (2022-05-02)

New Features

  • Add PEP 629 header to Simple API HTML PR #1122
  • Added support to exclude specific Python minor versions PR #1110 - Thanks davidkim83
  • Add S3 Docker Image building PR #1092

Other

  • Got Swift usage documentation
  • Move Docker containers to Python 3.10 PR #1092
  • Python 3.10 is now supported PR #1073 - Thanks isidentical
  • Move minio docker image running to official image

5.1.1

15 Dec 05:02
6c6dc46

Choose a tag to compare

Bug fixes

  • Fix debug output for package changes at end of mirror operation PR #1066 -- Thanks forky2

Other

  • Update lots of dependency version pins
  • Fix documentation build CI

5.1.0

03 Nov 03:08
785a450

Choose a tag to compare

New Features

  • Add support of downloading packages from alternative mirror PR #928 -- Thanks happyaron
  • Add support of s3 storage PR #886 -- Thanks LeoQuote

Bug fixes

  • Add bandersnatch command line help to the documentation main page PR #920 - Thanks ichard26
  • Generate data-yanked tag in simple page PR #931 - Thanks happyaron
  • Protect repository metadata from being trashed when disk is full PR #962 - Thanks happyaron
  • Fix tox to used pinned requirements*.txt files for deps - PR #1011 - Thanks cooperlees

Documentation

  • Add Storage Options documentation PR #1006 - Thanks cooperlees
  • Update all dependencies to latest except pyparsing + docutils

Dependencies

  • Change pyup to run monthly + auto add skip_news PR #1043 - Thanks cooperlees

5.0.0

28 Apr 15:24

Choose a tag to compare

New Features

  • bandersnatch is now a >= 3.8 Python project
  • New size_project_metadata filter plugin, which can deny download of projects larger than defined threshold - PR #806
  • Add option to compare file size and upload time instead of sha256sum for downloading - PR #822
  • Add optional uvloop support - PR #891 - Thanks cooperlees
  • Move to official docker upload action w/arm64 images uploaded - PR #896 - Thanks cooperlees

Deprecations

  • blacklist/whitelist will no longer work in bandersnatch configuration - PR #897 - Thanks cooperlees
    • Please use allowlist/denylist respectively

Bug Fixes

  • Unused storage plugins are loaded and cause non-fatal errors if dependencies are missing - PR #799 - Thanks electricworry
  • Replaced usages of asynctest with unittest.mock in tests - PR #807 and PR #856 - Thanks ichard26
  • Remove debugging line that loads entire files into memory. - PR #858 - Thanks asrp
  • Removed terrible isinstance check of unittest.Mock in mirror.py - PR #859 - Thanks ichard26
  • Put potential time consuming IO operations into executor - PR #877
  • Migrated Markdown documentation from recommonmark to MyST-Parser + docs config clean up - PR #879 - Thanks ichard26
  • Use shutil.move() for temp file management - PR #883 - Thanks happyaron
  • Fixed logging bug in SizeProjectMetadataFilter to show it activated - PR #889 - Thanks cooperlees
  • Attempt to wrap all potentially block calls in a ThreadPoolExecutor - PR #894 - Thanks cooperlees

4.4.0

31 Dec 17:59
4db1b71

Choose a tag to compare

New Features

  • Build a swift and non swift docker image - PR #754
  • Split Docker Build to accept build args to optionally include swift support - PR #741 - Thanks nlaurance-pyie
  • Slimmer docker image - PR #738 - Thanks nlaurance-pyie
  • Renamed black/white to block/allow lists - PR #737 - Thanks nlaurance-pyie
  • packages allowlist can be defined from requirements like files - PR #739 - Thanks nlaurance-pyie
  • Simplify logging around filters - PR #678 - Thanks @dalley

Bug Fixes

  • Handling of timeouts that can occur in verify. - PR #785 - Thanks electricworry
  • Added retry logic on timeouts when fetching metadata - PR #773 - Thanks gerrod3
  • Fix links, improve docs CI, and improve external object linking - PR #776 - Thanks ichard26
  • Handle 404 status for json verify - PR #763 - Thanks electricworry
  • Clean up isort config after upgrade to 5+ - PR #767 - Thanks ichard26
  • Remove duplicate max() target serial finding code + update typing - PR #745
  • swift.py: use BaseFileLock's lock_file property - PR #699 - Thanks hauntsaninja
  • Move to latest isort + mypy fixes - PR #706
  • Update change log url in project metadata - PR #673 - Thanks @abn

4.3.0

25 Aug 14:47

Choose a tag to compare

New Features

  • Add SOCKS proxy support to aiohttp via aiohttp-socks - PR #668
  • Add support for skipping mirroring release files (metadata only) - PR #670 - Thanks @abn

Bug Fixes