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

build: relax typeguard constraints following TensorFlow release #440

Merged
merged 3 commits into from
Jan 15, 2024

Conversation

alexander-held
Copy link
Member

@alexander-held alexander-held commented Oct 5, 2023

To avoid a typing_extension clash caused by TensorFlow, #429 restricted the typeguard version listed in the test setup extra. Now that an updated TensorFlow version is available, which fixes this clash, the typeguard version restriction can be relaxed again.

The typing-extensions cap introduced in tensorflow-probability has been fixed, but the versions with the fix are Python 3.9+ and therefore cause issues in the CI for 3.8. To avoid this, upgrade the typing_extensions version in the relevant Python 3.8 CI.

resolves #428

* relax version constraint on typeguard as latest TensorFlow release no longer causes dependency clash
* upgrade typing-extensions version in Python 3.8 CI to circumvent dependency clash

Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d5e2241) 100.00% compared to head (d2517cb) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #440   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines         2082      2082           
  Branches       340       340           
=========================================
  Hits          2082      2082           

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

@alexander-held alexander-held merged commit e6ac3e1 into master Jan 15, 2024
7 checks passed
@alexander-held alexander-held deleted the build/relax-typeguard-4 branch January 15, 2024 15:31
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.

Relax typeguard version restriction after next Tensorflow release
1 participant