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

Python update #163

Closed
wants to merge 9 commits into from
Closed

Python update #163

wants to merge 9 commits into from

Conversation

MIWdlB
Copy link
Contributor

@MIWdlB MIWdlB commented Oct 5, 2023

Updates the python dependency to make it less restrictive, in line with #162

Included in changes:

  • Python version changed
  • Move dev dependencies to dev group of pyproject.toml
  • Poetry added to dev dependencies
  • Poetry update
  • linting

@MIWdlB MIWdlB self-assigned this Oct 5, 2023
@codecov-commenter
Copy link

codecov-commenter commented Oct 5, 2023

Codecov Report

Attention: 203 lines in your changes are missing coverage. Please review.

Comparison is base (33716f6) 77.48% compared to head (b1f6881) 77.47%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #163      +/-   ##
==========================================
- Coverage   77.48%   77.47%   -0.02%     
==========================================
  Files          33       33              
  Lines        3833     3840       +7     
==========================================
+ Hits         2970     2975       +5     
- Misses        863      865       +2     
Files Coverage Δ
symmer/__init__.py 100.00% <100.00%> (ø)
symmer/evolution/__init__.py 100.00% <100.00%> (ø)
symmer/evolution/gate_library.py 100.00% <100.00%> (ø)
symmer/operators/base.py 65.89% <ø> (+0.12%) ⬆️
symmer/projection/__init__.py 100.00% <100.00%> (ø)
symmer/projection/base.py 93.33% <100.00%> (-2.23%) ⬇️
symmer/projection/qubit_subspace_manager.py 93.97% <100.00%> (ø)
symmer/projection/qubit_tapering.py 100.00% <100.00%> (ø)
...ests/test_evolution/test_evolution_gate_library.py 100.00% <100.00%> (ø)
tests/test_operators/test_anticommuting_op.py 100.00% <100.00%> (ø)
... and 21 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MIWdlB
Copy link
Contributor Author

MIWdlB commented Oct 5, 2023

There is a problem with rustworkx 0.13.2 (dependency of qiskit) such that it is unable to install via poetry.

Easy workaround for this is to pin it to <0.13.1 until the issue is resolved (presumably an issue with PyPI).

@AlexisRalli AlexisRalli closed this Jan 8, 2024
@AlexisRalli AlexisRalli deleted the python-update branch January 8, 2024 10:09
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

Successfully merging this pull request may close these issues.

4 participants