Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload windows wheels to PyPI on tagged builds #123

Closed
wants to merge 3 commits into from

Conversation

hoefling
Copy link
Member

@hoefling hoefling commented May 2, 2020

This PR adds automated upload of windows wheels from successful Appveyor jobs to PyPI.

Closes #88 #98 #101 #114 #118 #122

Also, it directly addresses several issues in dependent package repos, e.g.

(maybe there's more of them)

Example of a tagged build on Appveyor and the resulting version on TestPyPI.

@bgaifullin @mehcode if you decide to merge the PR, you have to replace the authentication token first. I have generated my own for a test upload, it won't work anymore for the real uploads. Go to your PyPI account, generate a new API token, encrypt it on Appveyor and replace the value of TWINE_PASSWORD env var in .appveyor config.

I am also willing to maintain the PyPI uploads if you want to, add me to project maintainers on PyPI and I will organize the rest.


To anyone with installation issues on Windows: you can use the wheels I have built to test the installation. Run

$ pip install xmlsec --extra-index-url=https://test.pypi.org/simple

This will install a version 1.3.6.post2 which isn't on PyPI, thus the special tag. The wheels are built from current master and are usable already, but I wouldn't rely on TestPyPI for the long run as it cleans up the uploaded packages once in a while.

@hoefling
Copy link
Member Author

hoefling commented May 2, 2020

Another thing - I've added a small code change to fix building the wheels for Python 2.7; not that it matters much though as Python 2.7 is EOL anyway.

@hoefling
Copy link
Member Author

Obsolete, 1.3.7 includes windows wheels on PyPI.

@hoefling hoefling closed this May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I can't install xmlsec on Windows 10
1 participant