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

Unpin maximum Python version #837

Merged
merged 6 commits into from
Jan 6, 2023
Merged

Unpin maximum Python version #837

merged 6 commits into from
Jan 6, 2023

Conversation

marscher
Copy link
Contributor

@marscher marscher commented Jan 6, 2023

Changes

We allow future versions again. A very detailed discussion why pinning maximum versions can be found here: https://iscinumpy.dev/post/bound-version-constraints/

Also fixed some dataclasses in asdf.tags.debug

TLDR:
Never cap Python, it is fundamentally broken at the moment. Also, even packing capping has negative consequences that can produce unexpected solves.

Related Issues

Closes #836

Checks

  • updated CHANGELOG.rst

@codecov
Copy link

codecov bot commented Jan 6, 2023

Codecov Report

Merging #837 (4b2c772) into master (706cc95) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #837   +/-   ##
=======================================
  Coverage   96.83%   96.83%           
=======================================
  Files          92       92           
  Lines        6071     6071           
=======================================
  Hits         5879     5879           
  Misses        192      192           
Impacted Files Coverage Δ
weldx/tags/debug/test_shape_validator.py 100.00% <100.00%> (ø)
weldx/tags/debug/test_unit_validator.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@github-actions
Copy link

github-actions bot commented Jan 6, 2023

Test Results

2 184 tests  ±0   2 183 ✔️ ±0   3m 35s ⏱️ +9s
       1 suites ±0          1 💤 ±0 
       1 files   ±0          0 ±0 

Results for commit 4b2c772. ± Comparison against base commit 140a038.

♻️ This comment has been updated with latest results.

@marscher marscher marked this pull request as ready for review January 6, 2023 12:02
@marscher
Copy link
Contributor Author

marscher commented Jan 6, 2023

Now we got the first evidence that pinning Python for libraries is a bad idea. Weldx-widgets depends on weldx, but this cannot be installed for Python 3.11. So it is an expected failure.

@marscher marscher merged commit cb8ab3b into master Jan 6, 2023
@marscher marscher deleted the py311 branch January 6, 2023 13:10
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.

Python 3.11 incompatibilities
1 participant