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

Incompatibility between PyPI and Conda #79

Open
jordan-heemskerk opened this issue Sep 23, 2022 · 4 comments
Open

Incompatibility between PyPI and Conda #79

jordan-heemskerk opened this issue Sep 23, 2022 · 4 comments
Labels
question Further information is requested

Comments

@jordan-heemskerk
Copy link

Comment:

It's slightly annoying that this package is called numpy-quaternion on PyPI and quaternion on conda.

However, not sure on the best solution. Could we stand up a duplicate package in conda called numpy-quaternion?

@jordan-heemskerk jordan-heemskerk added the question Further information is requested label Sep 23, 2022
@moble
Copy link
Contributor

moble commented Sep 23, 2022

Yeah, “numpy-quaternion” is unfortunate, but unavoidable due to history. But I don’t see how making that the conda name would be helpful. Please explain if I’m missing something.

Right now, conda users probably won’t encounter any confusion, because “quaternion” is the name they install and the name they import. They shouldn’t have to install with pip, so they don’t even need to know the name. Pip users are the only ones who will encounter confusion.

@jordan-heemskerk
Copy link
Author

My use case (yes, a little contrived for sure) is that I want to be able to specify and share a set of requirements for a Python project in a requirements.txt, but my organization is a mix of conda users and pip users, which usually isn't an issue, but for this package it is.

@moble
Copy link
Contributor

moble commented Sep 27, 2022

It's not very contrived. In fact, I've run into similar situations myself. I was always able to just have a script that renamed the package if conda was going to use it. But I can see how that wouldn't work for everyone. Sorry. I've long wanted that PyPI name. :/

I'll also just point out the quaternionic package, which is my newer version that may be easier to use, and is named the same thing on both PyPI and conda-forge.

As for the possibility of making some sort of numpy-quaternion alias in conda-forge, I'm afraid that's beyond my knowledge level. You might want to ping one of the admins.

@jordan-heemskerk
Copy link
Author

I've long wanted that PyPI name. :/

LOL. Yeah that seems unfortunate; I'm guessing they will never remove or let you take over the name for backwards compat reasons...

Long-term, moving the quaternionic package seems like a great solution for me. However, in the meantime it would be awesome to get an alias or duplicate set up on conda-forge called numpy-quaternion, if you are onboard for that.

@conda-forge/help-python can anyone advise on if there is a desired way to achieve that effect (or if it's even allowed?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants