Skip to content

Releases: pypa/bandersnatch

6.6.0

24 Dec 05:38
Compare
Choose a tag to compare

Sorry for the long gap between releases!

New Features

  • Add arbitrary configuration option for S3 Storage Backend Boto3 calls PR #1697
  • Add pytest marker to allow skipping of S3 tests PR #1766
  • Added HTTPS support in Docker Compose + Enabled bind-mount volume for Nginx config + add documentation in README.md PR #1653
  • Initial support for python 3.12 PR #1728
  • Move Docker images to 3.12 PR #1733
    • Removing swift builds due to lack or assistance - Happy to bring back if you're willing to help maintain
  • Move black, mypy + pyupgrade to >= 3.11 codebase PR #1734
  • Allow non-HTTPS-enabled mirrors PR #1765
  • Correct example config PR #1807

Documentation

  • Updated documentation for [mirror] configuration options PR #1669
  • Updated documentation PR #1760

Bug Fixes

  • Fix event loop usage and test setup to move to latest test deps PR #1829
  • Fix filtering for verify to fix deletion PR #1690
  • Drop types-pkg_resources PR #1793
  • Fix config file value interpolation for the diff-file option PR #1715
  • Fix diff-file being created when the option wasn't set PR #1716
  • Provide default values for most config options in the [mirror] section PR #1740
  • Fix command execution by runner.py - PR #1753

Deprecation

  • Move from pkg_resources to importlib_metadata for filter entry point usage PR #1739

6.5.0

12 Nov 21:06
Compare
Choose a tag to compare

New Features

  • Add option to filter releases based on upload time PR #1594
  • project_requirements_pinned with a pinned version (range) disables additional release filter for this package PR #1601

6.4.0

26 Sep 03:00
Compare
Choose a tag to compare
  • Move JSON Simple API to version 1.1 (as per PEP700) PR #1557
  • Move to >= 3.10 project PR #1457

Bug Fixes

  • Support py2 + py3 bdist file name filtering PR #1495

6.3.0

29 Apr 18:43
0a9006d
Compare
Choose a tag to compare

Bug Fixes

  • Fix digest used for file hashes in PEP 691 simple JSON file output PR #1442
    • The digest_name setting from configuration (default value: sha256) will now be used for both HTML and JSON files.
    • This mirrors pypi.org ("Warehouse") behavior
    • Please use bandersnatch mirror --force-check to regenerate all your mirror's simple API
      • bandersnatch sync could also be a way to update important packages faster too

6.2.0

01 Mar 02:40
Compare
Choose a tag to compare

New Features

  • Add scandir() as Storage plugin API to speedup large directory read when generating global index PR #1340
  • Declare support for Python 3.11 PR #1338
  • Move Docker to build in 3.11 PR #1341
  • Add "--force-check" parameter to runner.py PR #1347

Bug Fixes

  • Fixed read of requirement files with non UTF-8 encoding - compatible with pip PR #1387
  • Type checking fixed to pass mypy > 1.0.0
  • Don't attempt docker on forks PR #1336

Notice

  • This will be the last python 3.8 and 3.9 tested version. Going to plan to be >= 3.10

6.1.0

03 Jan 04:39
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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