Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Prohibit PyPI uploads for the local versions (not the releases) #6

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

nolar
Copy link
Contributor

@nolar nolar commented Mar 27, 2019

Following #4, disable the local versions (0.1.dev2+g123456) to be uploaded to PyPI, as PyPI does not accept them (log):

Uploading kopf-0.1.dev9+g21a7230-py3-none-any.whl
HTTPError: 400 Client Error: '0.1.dev9+g21a7230' is an invalid value for Version. Error: Can't use PEP 440 local versions. See https://packaging.python.org/specifications/core-metadata for url: https://upload.pypi.org/legacy/

Sadly, the PYPI uploads can only be tested on the master branch, i.e. after the merges.

@nolar nolar requested a review from samurang87 as a code owner March 27, 2019 11:24
@zincr
Copy link

zincr bot commented Mar 27, 2019

🤖 zincr found 0 problems , 0 warnings

✅ Large Commits
✅ Approvals
✅ Specification
✅ Dependency Licensing

@nolar nolar merged commit fae0942 into master Mar 27, 2019
@nolar nolar deleted the travis branch April 21, 2019 21:55
@nolar nolar added the automation CI/CD: testing, linting, releasing automatically label Apr 26, 2019
@nolar nolar added this to the 1.0 milestone Apr 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automation CI/CD: testing, linting, releasing automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants