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

No python package in PyPI #851

Open
lenvt opened this issue Jan 31, 2025 · 3 comments
Open

No python package in PyPI #851

lenvt opened this issue Jan 31, 2025 · 3 comments

Comments

@lenvt
Copy link

lenvt commented Jan 31, 2025

Describe the bug

The documentation indicates here that a PyPI package exists, but it seems not to exist:

Linux

$ python -m pip install open-simulation-interface
ERROR: Could not find a version that satisfies the requirement open-simulation-interface (from versions: none)
ERROR: No matching distribution found for open-simulation-interface

Same issues with Windows when trying to install as explained here.

Describe how to reproduce the bug

Follow the steps given here in the documentation:

  1. Create a blank directory
  2. Create a venv
  3. Activate venv
  4. Install open-simulation-interface via pip

Describe the expected behavior

The open-simulation-interface package should be installable via PyPI with the same result as building from sources.

Describe the OS you are using

  • OS : Ubuntu 22.04
  • Python version 3.10.12
@jdsika
Copy link
Contributor

jdsika commented Feb 7, 2025

There is a pending ticket for pypi because the name "open-simulation-interface" #4399 is currently blocked. You can currently find the package in Test PyPi

@adamkrawczyk
Copy link

adamkrawczyk commented Mar 21, 2025

There is an issue that with Test PyPi only version 3.7/6.0 is available. I'm looking especially for the version 3.5 and using pip is significantly easier than source install

btw the version from Test PyPi does not install (works with extra --extra-index-url https://pypi.org/simple/:

pip install --index-url https://test.pypi.org/simple/ open-simulation-interface
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://test.pypi.org/simple/
Collecting open-simulation-interface
  Using cached https://test-files.pythonhosted.org/packages/a1/a4/37a5f27e05aa38637bcaaa77b59ead2f0f8562236a5d48fe72821d3350b9/open_simulation_interface-3.7.0-py3-none-any.whl.metadata (24 kB)
INFO: pip is looking at multiple versions of open-simulation-interface to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement protobuf>=4.24.4 (from open-simulation-interface) (from versions: 3.0.0.dev1, 3.0.0a1, 3.0.0b2.dev1, 3.0.0b2.dev2, 3.0.0b3.dev1, 3.0.0b3.dev2, 3.0.0b3.dev3, 3.0.0b4.dev1, 3.0.0b4.dev2, 3.0.0b4, 3.1.0.post1.dev2, 3.2.0.dev1, 3.2.0rc1.dev1, 3.2.0rc1.dev2, 3.2.0rc1.post1.dev1, 3.2.0rc2.dev1, 3.2.0rc2.dev2, 3.2.0rc2.dev3, 3.3.0.dev1, 3.3.0.dev2, 3.3.0.dev3, 3.3.0.dev4, 3.3.0.dev5, 3.3.0, 3.4.0.dev1, 3.4.0.dev2, 3.4.0.dev3, 3.4.0.dev4, 3.4.0, 3.5.0.dev1, 3.5.0.dev2, 3.5.0.dev3, 3.5.0, 3.5.0.post1.dev1, 3.5.0.post1.dev2, 3.5.0.post1, 3.5.1.dev1, 3.5.1.dev2, 3.5.1.dev3, 3.5.1, 3.5.2, 3.5.2.post1, 3.6.0, 3.6.1.dev1, 3.6.1, 3.7.0rc2, 3.7.0rc3, 3.7.0, 3.7.1, 3.8.0rc1, 3.8.0, 3.9.0rc1, 3.9.0, 3.9.1, 3.9.2, 3.10.0rc1, 3.10.0, 3.11.0rc1, 3.11.0rc2, 3.11.0, 3.11.1, 3.11.2, 3.11.3, 3.12.2, 3.12.4, 3.13.0rc3, 3.13.0, 3.14.0rc1, 3.14.0rc2, 3.14.0rc3, 3.14.0, 3.15.0rc1, 3.15.0rc2, 3.15.0, 3.15.1, 3.15.2, 3.15.3, 3.15.4, 3.15.5, 3.15.6, 3.15.7, 3.15.8, 3.16.0rc1, 3.16.0rc2, 3.16.0, 3.17.0rc1, 3.17.0rc2, 3.17.0, 3.17.1, 3.17.2, 3.17.3, 3.18.0rc1, 3.18.0rc2, 3.18.0, 3.18.1, 3.18.3, 3.19.0rc1, 3.19.0rc2, 3.19.0, 3.19.1, 3.19.2, 3.19.3, 3.19.4, 3.19.5, 3.19.6, 3.20.0rc1, 3.20.0rc2, 3.20.0, 3.20.1rc1, 3.20.1, 3.20.2, 3.20.3, 4.0.0rc1, 4.0.0rc2, 4.21.0rc1, 4.21.0rc2, 4.21.0, 4.21.1, 4.21.2, 4.21.3, 4.21.4.dev1, 4.21.4.dev2, 4.21.4.dev3, 4.21.4.dev4, 4.21.4.dev5, 4.21.4.dev6, 4.21.4.dev7, 4.21.4.dev8, 4.21.4.dev9, 4.21.4.dev10, 4.21.4, 4.21.5, 4.21.6, 4.21.7, 4.21.8, 4.21.9, 4.21.10, 4.21.11, 4.21.12)
ERROR: No matching distribution found for protobuf>=4.24.4

@pmai
Copy link
Contributor

pmai commented Mar 21, 2025

There is an issue that with Test PyPi only version 3.7/6.0 is available. I'm looking especially for the version 3.5 and using pip is significantly easier than source install

Even if the PyPI issue is fixed, there is little likelihood that 3.5 will be retrofitted, as the definitions in 3.5.0 are really not cleaned up enough for a proper package, and given the full backward compatibility 3.7 can always be used as a drop in in terms of the actual on-the-wire protocol.

btw the version from Test PyPi does not install (works with extra --extra-index-url https://pypi.org/simple/:

pip install --index-url https://test.pypi.org/simple/ open-simulation-interface

That is unlikely to work, as Test PyPI is not a full replacement of PyPI (many packagers do not use TestPyPI, like e.g. the current protobuf packagers, as you found out), so as you said, one should always provide normal PyPI 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

4 participants