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

Also release source distribution on PyPI #240

Open
qartik opened this issue Jun 12, 2023 · 2 comments
Open

Also release source distribution on PyPI #240

qartik opened this issue Jun 12, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@qartik
Copy link
Contributor

qartik commented Jun 12, 2023

Describe the bug

It looks like since v0.7.x no source distributions are being uploaded to PyPI. Is it possible to upload source distributions as part of the release process as used to be the case before?

To Reproduce

 ❯ pip install --no-binary pyqir==0.8.2 pyqir==0.8.2
ERROR: Could not find a version that satisfies the requirement pyqir==0.8.2 (from versions: 0.3.2a1, 0.4.0a1, 0.4.1a1, 0.4.2a1, 0.5.0a1, 0.6.0, 0.6.1, 0.6.2)
ERROR: No matching distribution found for pyqir==0.8.2

Expected behavior

❯ pip install --no-binary pyqir==0.6.2 pyqir==0.6.2
Collecting pyqir==0.6.2
  Using cached pyqir-0.6.2-py3-none-any.whl (1.9 kB)
Requirement already satisfied: pyqir-generator>=0.6.2 in ./.venv/lib/pypy3.9/site-packages (from pyqir==0.6.2) (0.7.0)
Requirement already satisfied: pyqir-evaluator>=0.6.2 in ./.venv/lib/pypy3.9/site-packages (from pyqir==0.6.2) (0.7.0)
Requirement already satisfied: pyqir-parser>=0.6.2 in ./.venv/lib/pypy3.9/site-packages (from pyqir==0.6.2) (0.7.0)
Installing collected packages: pyqir
Successfully installed pyqir-0.6.2

System information

  • > 0.6.2
@qartik qartik added the bug Something isn't working label Jun 12, 2023
@graham-atom
Copy link

is there any update on this? I am seeing failures to install with poetry that might be related

@graham-atom
Copy link

specifically:

10.84   RuntimeError
10.84 
10.84   Unable to find installation candidates for pyqir (0.10.0)
10.84 
10.84   at ~/.local/share/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/chooser.py:74 in choose_for
10.85        70│ 
10.85        71│             links.append(link)
10.85        72│ 
10.85        73│         if not links:
10.85     →  74│             raise RuntimeError(f"Unable to find installation candidates for {package}")
10.85        75│ 
10.85        76│         # Get the best link
10.85        77│         chosen = max(links, key=lambda link: self._sort_key(package, link))
10.85        78│ 
10.85 
10.85 Cannot install pyqir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants