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

Sdist availability #9

Closed
thewchan opened this issue Oct 5, 2024 · 9 comments
Closed

Sdist availability #9

thewchan opened this issue Oct 5, 2024 · 9 comments

Comments

@thewchan
Copy link

thewchan commented Oct 5, 2024

Hi, I'm interesting in making perpetual on Conda Forge, however to do so we do need the sdist release be made available on PyPI or Github. Would that be possible?

@deadsoul44
Copy link
Contributor

We use maturin to build the package. From maturin docs:

https://www.maturin.rs/distribution
"""
If a pyproject.toml with a [build-system] entry is present, maturin can build a source distribution of your package when --sdist is specified. The source distribution will contain the same files as cargo package. To only build a source distribution, use the maturin sdist command.
"""

If this is enough for conda-forge, I can create a new release. Let me know if something more needed.

@thewchan
Copy link
Author

thewchan commented Oct 5, 2024

@deadsoul44 Thanks I think that's enough, we just need a tarball of the source instead of a wheel file

@deadsoul44
Copy link
Contributor

Maturin build fails due to a bug when --sdist specified.

PyO3/maturin#2244

After the new maturin release with a fix, I will re-try to build.

@deadsoul44
Copy link
Contributor

v0.6.2 is released with --sdist option. A .tar.gz file is available in the files section.

https://pypi.org/project/perpetual/#files

Could you please try to release the package to conda-forge channel?

@thewchan
Copy link
Author

thewchan commented Nov 1, 2024

I will begin work; @deadsoul44 would you like to be listed as a maintainer? Generally the work involved is quite minimal as the CI infrastructure automatically picks up a new release when it's made on PyPI.

@deadsoul44
Copy link
Contributor

Yes, add me as a maintainer. Thanks a lot.

@thewchan
Copy link
Author

thewchan commented Nov 1, 2024

@deadsoul44 working on the recipe here conda-forge/staged-recipes#28082; you can post a comment there to approve being added as a maintainer. Thanks@

@deadsoul44
Copy link
Contributor

Commented there to be added as a maintainer.

@deadsoul44
Copy link
Contributor

Perpetual is available on conda-forge channel. Thanks for the contribution.

https://anaconda.org/conda-forge/perpetual

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