Skip to content
Snippets Groups Projects

nightly-build: attempt to no longer choke on existing file

Merged Pierre-Yves David requested to merge topic/stable/fix-nighlty-upload into branch/stable
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
  • When we run the job multiple time, the upload step fails because the file always
    exists. So we pass the `--skip-existing` flag that is supposed to help with
    that… when supported.
    
    This might have no effect outside of upload to PyPI as the doc says:
    
        Continue uploading files if one already exists. (Only valid when uploading
        to PyPI. Other implementations may not support this.)
+ 3
1
@@ -666,7 +666,9 @@
return 0, 0
@checkvers("pygments", "Pygments version >= %s", ('2.5', '2.11', '2.14'))
@checkvers(
"pygments", "Pygments version >= %s", ('2.5', '2.11', '2.14', '2.19')
)
def has_pygments_range(v):
major, minor = v.split('.')[0:2]
return getpygmentsversion() >= (int(major), int(minor))
Loading