Skip to content

Build and upload PyPI package#884

Merged
jpadilla merged 1 commit intomasterfrom
pypi-package
Apr 25, 2023
Merged

Build and upload PyPI package#884
jpadilla merged 1 commit intomasterfrom
pypi-package

Conversation

@jpadilla
Copy link
Copy Markdown
Owner

@jpadilla jpadilla changed the title Create pypi-package.yml Build and upload PyPI package Apr 25, 2023
@jpadilla jpadilla marked this pull request as ready for review April 25, 2023 01:13
@jpadilla jpadilla merged commit 81b9ef4 into master Apr 25, 2023
@jpadilla jpadilla deleted the pypi-package branch April 25, 2023 01:14
@hynek
Copy link
Copy Markdown

hynek commented Apr 25, 2023

Would you like some help debugging it? 😇

FWIW there's two things you probably need to do:

  1. you have to activate OCID in the PyPI project (prod and test separately) to fix this

CleanShot 2023-04-25 at 09 57 13@2x

That's really easy, just log in and find it in the project settings.

  1. for the test PyPI thing to work, you'll need to change the versioning of the project, because every upload's version must be unique. That's easiest achieved using setuptools-scm / hatch-vcs but not sure if you want to re-do that part.

lmk if you have any questions, i'm still at the PyCon sprints

@jpadilla
Copy link
Copy Markdown
Owner Author

@hynek thanks for chiming in! It seems like someone else published the project to the TestPyPI instance https://test.pypi.org/project/PyJWT/ so I think I'm kinda blocked there. Reached out directly to see if it can be transferred 🤷‍♂️

Re: versioning. gonna take a further look at those.

@jpadilla
Copy link
Copy Markdown
Owner Author

@di random question, but know anyone that could look into this pypi/support#2790 ?

@di
Copy link
Copy Markdown

di commented Jul 11, 2023

@jpadilla Done!

@hynek
Copy link
Copy Markdown

hynek commented Jul 11, 2023

@di any chance for looking into pypi/support#2891 while we're having fun? 😇

@di
Copy link
Copy Markdown

di commented Jul 11, 2023

@hynek Also done!

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.

3 participants