Open alebourdoulous opened 4 years ago
Thanks for reporting the bug. Can I grab a copy of your bandersnatch.conf
please?
As for skipping all wheels - I think via the release File Regex matching would be your best bet: https://bandersnatch.readthedocs.io/en/latest/filtering_configuration.html#release-file-regex-matching
Hi Cooper,
Here is the requested file
root@bd682f7432c1:/# cat /etc/bandersnatch.conf
[mirror]
; The directory where the mirror data will be stored.
directory = /mirror/data/pypi.org
json = true
; Cleanup legacy non PEP 503 normalized named simple directories
cleanup = false
; The PyPI server which will be mirrored.
; master = https://testpypi.python.org
; scheme for PyPI server MUST be https
master = https://pypi.org
; The network socket timeout to use for all connections. This is set to a
; somewhat aggressively low value: rather fail quickly temporarily and re-run
; the client soon instead of having a process hang infinitely and have TCP not
; catching up for ages.
timeout = 300
; Number of worker threads to use for parallel downloads.
; Recommendations for worker thread setting:
; - leave the default of 3 to avoid overloading the pypi master
; - official servers located in data centers could run 10 workers
; - anything beyond 10 is probably unreasonable and avoided by bandersnatch
workers = 6
; Whether to hash package indexes
; Note that package index directory hashing is incompatible with pip, and so
; this should only be used in an environment where it is behind an application
; that can translate URIs to filesystem locations. For example, with the
; following Apache RewriteRule:
; RewriteRule ^([^/])([^/]*)/$ /mirror/pypi/web/simple/$1/$1$2/
; RewriteRule ^([^/])([^/]*)/([^/]+)$/ /mirror/pypi/web/simple/$1/$1$2/$3
; Setting this to true would put the package 'abc' index in simple/a/abc.
; Recommended setting: the default of false for full pip/pypi compatability.
hash-index = false
; Whether to stop a sync quickly after an error is found or whether to continue
; syncing but not marking the sync as successful. Value should be "true" or
; "false".
stop-on-error = false
; Whether or not files that have been deleted on the master should be deleted
; on the mirror, too.
; IMPORTANT: if you are running an official mirror than you *need* to leave
; this on.
delete-packages = true
; Advanced logging configuration. Uncomment and set to the location of a
; python logging format logging config file.
; log-config = /etc/bandersnatch-log.conf
[statistics]
; A glob pattern matching all access log files that should be processed to
; generate daily access statistics that will be aggregated on the master PyPI.
access-log-pattern = ${MIRROR_LOG}/*.pypi.python.org*access*
[plugins]
enabled =
blacklist_project
exclude_platform
regex_project
[blacklist]
packages =
example1
catboost-dev
lalsuite
paddlepaddle-gpu
OpenVisus
frida
mxnet
tf-nightly
tf_nightly
platforms =
windows
macos
freebsd
[filter_regex]
packages =
mxnet+.
.+mxnet+.
.+mxnet
tf-nightly+.
tf_nightly+.
cupy-cuda+.
tensorflow+.
.+tensorflow+.
lalsuite+.
catboost+.
.+cuda
; vim: set ft=cfg:
thank's
Hi,
It fail to verify package when plugin "exclude_platform" is enable. If i remove this plugin, it works fine.
I have also a question, is it possible to skip downloading of all wheel binary (extention whl) ?
Alain