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

Fix packaging episode #311

Merged
merged 3 commits into from
Nov 6, 2024
Merged

Conversation

ashwinvis
Copy link
Collaborator

  • Add sphinx-autobuild make livehtml rule
  • Test PyPI API token and virtual environment instructions
  • By the power of grayskull!

This is important because of two things

  1. Username and password authentication does not work in PyPI or Test PyPI anymore. 2FA is mandatory.
  2. conda-skeleton does not work with modern Python packages which do not use setup.py
  3. grayskull is recommended and it works

I have tested the commands and fixed it.

cc: @rkdarst

@ashwinvis
Copy link
Collaborator Author

See:

We recommend Grayskull, a newer alternative to conda-skeleton, to generate conda recipes for PyPI packages. Please check out their project page on GitHub for more information.

https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/build-pkgs-skeleton.html

Starting January 1, 2024, all users must enable 2FA for their PyPI accounts.

PyPI has been on the path of being a fully Two-factor Authenticated service a reality, which began in 2019. Read more about some of the steps taken in recent months:

https://blog.pypi.org/posts/2023-12-13-2fa-enforcement/

@bast bast merged commit 8fe9a52 into AaltoSciComp:master Nov 6, 2024
2 checks passed
@bast
Copy link
Collaborator

bast commented Nov 6, 2024

Thank you!

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.

2 participants