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

Pypi publication is not working #139

Open
GeorgePantelakis opened this issue Jun 6, 2024 · 17 comments
Open

Pypi publication is not working #139

GeorgePantelakis opened this issue Jun 6, 2024 · 17 comments

Comments

@GeorgePantelakis
Copy link
Collaborator

The publication of the package to Pip is not working because of some email verification that is needed.

@GeorgePantelakis
Copy link
Collaborator Author

@x00Pavel since it is your account that is connected to it can you please take a look if you can fix it and if you still have access? Also, perhaps we should consider moving it to a non-personal upstream account so the active maintainer of the time will have access and fix these kinds of issues (if any).

@x00Pavel
Copy link
Member

x00Pavel commented Jun 6, 2024

@GeorgePantelakis This problem is probably appeared because this package is published to my personal PyPi repository and I didn't maintain this account for a while. To solve this problem and prevent it in future, I would suggest to create/use some company account/repository. O

@GeorgePantelakis
Copy link
Collaborator Author

GeorgePantelakis commented Jun 6, 2024

@x00Pavel I am glad that we are on the same page! Could you enable it for now until I figure out how to make an account and move it there?

@x00Pavel
Copy link
Member

x00Pavel commented Jun 6, 2024

@GeorgePantelakis sure, I will check it later this evening.

@x00Pavel
Copy link
Member

x00Pavel commented Jun 7, 2024

@GeorgePantelakis Hi. I've just updated settings in my PyPi account. Can you please check that it works? Also, there is an option to create the organisation in PyPi. If you would be able to create one, I think I would be able to transfer the package to the organisation / share somehow it with the organisation

@GeorgePantelakis
Copy link
Collaborator Author

GeorgePantelakis commented Jun 7, 2024

@x00Pavel There is still a problem, a different one this time, which says that the file already exists (https://github.com/redhat-qe-security/SCAutolib/actions/runs/9413600787/job/25930684176). Can you check if is that file indeed there since I can only see up to the 3.2.2 version in Pip? Perhaps just updating the version will do it. Also, about the account I will take a look next week so leaving the issue open until we migrate it.

@x00Pavel
Copy link
Member

x00Pavel commented Jun 7, 2024

@GeorgePantelakis

@GeorgePantelakis
Copy link
Collaborator Author

Yes please??

@x00Pavel
Copy link
Member

x00Pavel commented Jun 7, 2024

@GeorgePantelakis Sorry, the comment hadn’t posted for some reasons.

The latest version is 3.2.2. So, just bump the version and everything should work.

Regrading accounts, there is an option to collaborate on the package maintains/ownership. I will need a username of the account for this

@GeorgePantelakis
Copy link
Collaborator Author

GeorgePantelakis commented Jun 18, 2024

@x00Pavel Just an update, I have requested the organization to be created by Pypi for a week now but it hasn't been approved yet. Still waiting.

@GeorgePantelakis
Copy link
Collaborator Author

@x00Pavel, since I don't see much movement in the creation of the PyPI organization and we again can't upload it due to some error (https://github.com/redhat-qe-security/SCAutolib/actions/runs/10848823184/job/30106746901), would you be open to transferring the module to me?

@x00Pavel
Copy link
Member

Hi @GeorgePantelakis

In such case I don't mind to maintain the PyPi repo myself. If you don't have anything against it, I will check what is wrong there and rich you out right when I will have some info. What do you think?

@GeorgePantelakis
Copy link
Collaborator Author

GeorgePantelakis commented Oct 15, 2024

@x00Pavel,

I have no problem with it, if you have the time, at least until the organization is created. If we have any issue with uploading, I can create an issue here and assign it to you. For now, I think that if you enable 2-FA in your account, it will be sufficient.

Thank you!

@x00Pavel
Copy link
Member

@GeorgePantelakis sure, fill free to assign such issues on me. I will check it ASAP

@x00Pavel
Copy link
Member

@GeorgePantelakis what is your name on the PyPi? I will invite you for collaboration on this project

@x00Pavel
Copy link
Member

@GeorgePantelakis also, the problem appears on the push to Test instance of PyPi. The question is do you still need this test repo? If not, you can just ignore this error in the workflow file or simply to delete this step

@GeorgePantelakis
Copy link
Collaborator Author

GeorgePantelakis commented Oct 15, 2024

@x00Pavel,

Great, thank you.

My profile is https://pypi.org/user/gpantela/.

Now for the test instance of PyPi I don't think I use it at all (didn't know it existed) so probably we can simply skip that. It didn't run the production instance to see that it passed so I am not sure if we will not have the same issue in production as well.

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

2 participants