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

Automatic publish to PyPI #134

Open
Alir3z4 opened this issue Oct 9, 2021 · 18 comments
Open

Automatic publish to PyPI #134

Alir3z4 opened this issue Oct 9, 2021 · 18 comments
Assignees

Comments

@Alir3z4
Copy link
Collaborator

Alir3z4 commented Oct 9, 2021

For each release, the package should be automatically published to PyPI.
Github actions can be triggered by each tag, once a tag is created on the repository, an action can get executed and publish to PyPI.

Blocked by: #133

@PetrDlouhy
Copy link
Collaborator

@Alir3z4 Should I somehow help with this?

I think we should make a PyPI release as soon as possible (automatic or not), because there are many fixes, especially of compatibility with newer Django versions. The new release should include MRs #155, #154, #152, #151, #149 (all are mostly bugfixes).

@PetrDlouhy
Copy link
Collaborator

@Alir3z4 Could you please merge the #158 and #152 MRs?

What about the PyPI release? Can I help it somehow?

@PetrDlouhy
Copy link
Collaborator

PetrDlouhy commented Feb 24, 2022

@Alir3z4 I think we should release new PyPI version now, the current doesn't work in with newer Django/Python versions.
None of the remaining MRs are mandatory for the new release (although #159 may be nice).

@Alir3z4
Copy link
Collaborator Author

Alir3z4 commented Feb 26, 2022

I cannot setup automatic publishing to PyPI unless my privileges gets escalated so I can add environment variables for Twine.

Probably @cypreess can help with that or he can add his own credentials to the GitHub Actions environment variables.
I've already done something like this in another project of mine at https://github.com/Alir3z4/python-currencies/blob/master/.github/workflows/python-publish.yml

@alamothe
Copy link

alamothe commented Jul 4, 2022

Any updates?

@nemesifier
Copy link
Collaborator

nemesifier commented Sep 1, 2022

@PetrDlouhy @Alir3z4 @cypreess Hi there, sorry to bother you, but a new version of this package hasn't been released for over 4 years now, even though there has been active development recently.

Can anyone suggest a way to overcome this impasse?
I am ready to do my part, which is to help with the bare minimum maintenance tasks (updating support for newer django versions and fixing critical bugs).

@PetrDlouhy
Copy link
Collaborator

@nemesisdesign I have no rights to this repo nor PyPI package, so its on @Alir3z4.

I did most of the maintanence work as well as some development.
I think the project is mostly ready for new release.

There are PRs I have made that might be good to pull before release (but it is not needed):

@cypreess
Copy link
Collaborator

cypreess commented Sep 6, 2022

@PetrDlouhy @nemesisdesign I invited both of you with Writers privileges into this project, so please continue to maintain this repository and merge all PRs that you feel are appropriate.

I am sadly not able to maintain this project anymore.

@cypreess
Copy link
Collaborator

cypreess commented Sep 6, 2022

I also do not have for some unknown reasons privileged to PyPi project, @Alir3z4 can you maybe check this out as you have access and make all of us here maintainers on PyPI as well.

@nemesifier
Copy link
Collaborator

Thanks @cypreess for granting access.

I already merged #173 since it's a safe and small change, then reviewed #172.

@Alir3z4
Copy link
Collaborator Author

Alir3z4 commented Sep 11, 2022

@cypreess the only person alongside me that has access on PyPI is https://pypi.org/user/swapps/

Can you all give me your PyPI usernames to give everyone access?

@PetrDlouhy
Copy link
Collaborator

My PyPI username is petr.dlouhy

@Alir3z4
Copy link
Collaborator Author

Alir3z4 commented Sep 11, 2022

My PyPI username is petr.dlouhy

Invited.

@nemesifier
Copy link
Collaborator

@Alir3z4 I am nemesisdesign: https://pypi.org/user/nemesisdesign/

@PetrDlouhy
Copy link
Collaborator

OK, I resubmitted #172 in #174 to use mocking everywhere.
The new version is still not released. Are we waiting for something, or should I just release it?

@nemesifier
Copy link
Collaborator

@PetrDlouhy have you got access to pypi to issue new releases?

@PetrDlouhy
Copy link
Collaborator

Yeah, now I have the rights. I will make the release.

@PetrDlouhy
Copy link
Collaborator

New version is now released. Please write if there are any problems with it.

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

No branches or pull requests

5 participants