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

Providing conda packages #5

Closed
ap-- opened this issue Nov 22, 2022 · 5 comments
Closed

Providing conda packages #5

ap-- opened this issue Nov 22, 2022 · 5 comments

Comments

@ap--
Copy link

ap-- commented Nov 22, 2022

Hello @Rogdham

I am starting work on providing conda packages for ratarmount and its dependencies.
Would you be interested in providing python-xz via conda?
If yes, I could offer to create the feedstock repository for you to provide packages via conda-forge. I would also be maintaining this feedstock repository, and (of course) add you as a maintainer too.

For reference, here's the discussion in the downstream repo: mxmlnkn/ratarmount#99

Let me know what you think,
Cheers,
Andreas 😃

@Rogdham
Copy link
Owner

Rogdham commented Nov 22, 2022

Hello @ap-- and thank you for your message, your offer, and your interest through ratarmount 👋

I am not interested in providing python-xz via conda myself, nor maintaining such a distribution. Indeed, I am not currently a user of conda. And from experience it's better not to get involved into maintaining something you don't use 😉

With that being said, feel free to create the necessary wizardry to distribute python-xz on conda yourself! (it's not like I could prevent you from doing that anyway…) I would however appreciate if the conda distribution could indicate in some ways (metadata?) the following:

  • That it's an unofficial distribution (i.e. you are the maintainer, I'm not);
  • The upstream URL https://github.com/Rogdham/python-xz (mainly for end users to be able to report bugs easilly); this is already in the metadata of the package on PyPI if that's of any help.

Would that make any sense to you? Other thoughts that come to my mind:

  • When a new version of python-xz is released, would you be automatically noticed so that the conda distribution is updated?
  • Of course feel free to ask any questions you might have, or if you have some changes required in the python-xz package so that it's easier for you to distribute it on conda, I'm open to suggestions!

Regarding the last point, I feel like this issue would be the good place to discuss should the case arise, so I'm leaving it open as a result.

@ap--
Copy link
Author

ap-- commented Nov 23, 2022

And from experience it's better not to get involved into maintaining something you don't use 😉

100% agree 😄

To address your points:

That it's an unofficial distribution (i.e. you are the maintainer, I'm not);`

That works. conda-forge feedstocks list the maintainers. I will just not add you to that list then.

The upstream URL https://github.com/Rogdham/python-xz (mainly for end users to be able to report bugs easilly);

Same here. In the conda-forge feedstock repository the upstream repository will be linked

When a new version of python-xz is released, would you be automatically noticed so that the conda distribution is updated?

Yes, the conda eco-system runs bots that inform the maintainers once a new version of your tool lands on pypi.

Of course feel free to ask any questions you might have, or if you have some changes required in the python-xz package so that it's easier for you to distribute it on conda, I'm open to suggestions!

Thanks, I'll see if I run into any issues, and will update you here.

Cheers,
Andreas 😃

@ap--
Copy link
Author

ap-- commented Nov 23, 2022

Note to self: Staged Recipe conda-forge/staged-recipes#21252

@ap--
Copy link
Author

ap-- commented Nov 27, 2022

Hi @Rogdham,

the conda-forge package is now available.
If you're interested, here is the feedstock repository and (after setting up conda) you can install via conda with the following command:

conda install -c conda-forge python-xz

I'll maintain the package on conda-forge. Whenever you release a new version on pypi, I'll be notified via the conda-forge bot, so updated conda packages will be out as soon as I update the feedstock (usually within 1-3 days).

And here's the code for a shields.io badge in case you want to add it to the readme:

[![Conda (channel only)](https://img.shields.io/conda/vn/conda-forge/python-xz?label=conda)](https://anaconda.org/conda-forge/python-xz)

Cheers,
Andreas 😃

@ap-- ap-- closed this as completed Nov 27, 2022
@Rogdham
Copy link
Owner

Rogdham commented Nov 28, 2022

Terrific, thank you Andreas for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants