Releases: pypa/bandersnatch
Releases · pypa/bandersnatch
6.1.0
New Features
- Add a
packagesconfig 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
--previewstylePR #1313- I contribute to black and want to help find bugs ...
6.0.1
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-7where the interval is expressed
as<start_hour>-<end_hour>.PR #1232 - Add support for globbing in the allowed requirements list.
User can specifyrequirements*.txtor*.txtto merge multiple requirements filesPR #1230
6.0.0
5.3.0
New Features
- Add delete and verify support in s3 (and maybe swift) storage backend
PR #1142 - Add
--skip-simple-rootoption forbandersnatch synccommandPR #1145
Other
- Replace pyup with dependabot
- Resulted in lots of dependencies updating
- Docs typo fixes
5.2.0
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
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
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
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
asynctestwithunittest.mockin tests -PR #807andPR #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
SizeProjectMetadataFilterto show it activated -PR #889- Thanks cooperlees - Attempt to wrap all potentially block calls in a ThreadPoolExecutor -
PR #894- Thanks cooperlees
4.4.0
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