-
Notifications
You must be signed in to change notification settings - Fork 198
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
Loosen typeguard upper bound to allow major version 4 #2812
Conversation
This needs a Pytest upgrade first, which I'll do in a different PR |
I fixed up a test to look for typeguards new TypeCheckError, but that now fails on typeguard 2.x (which is not tested by CI as it's installing 4.x):
E AttributeError: module 'typeguard' has no attribute 'TypeCheckError' |
That's a concern for me mostly because typeguard>2 is relatively new and I'm wary of increasing the minimum bound there... |
got this in CI - will rerun and see what happens
|
As seen in CI at least once, it's possible that the noop() function takes too long to complete. Address by: - increasing the timeout - removing the now-deemed-extraneous other parameterizations - and verifying the test pre-condition first. ("We expect to get a result!") Reference problem observed: #2812 (comment)
As seen in CI at least once, it's possible that the noop() function takes too long to complete. Address by: - increasing the timeout - removing the now-deemed-extraneous other parameterizations - and verifying the test pre-condition first. ("We expect to get a result!") Reference problem observed: #2812 (comment)
typeguard 4.0.1, released on 27th July, introduces new complications ... see agronholm/typeguard#372 I think this is a typeguard bug. |
commit fa66de4 Merge: 46f0a5f c39700b Author: Ben Clifford <[email protected]> Date: Thu Jul 20 08:15:14 2023 +0000 Merge remote-tracking branch 'origin/master' into benc-typeguard-4 commit 46f0a5f Author: Ben Clifford <[email protected]> Date: Wed Jul 19 15:10:34 2023 +0000 Remote unused from __future__ import commit b8e5cb9 Author: Ben Clifford <[email protected]> Date: Wed Jul 19 14:23:51 2023 +0000 Upgrade typeguard, because TypeCheckError is new in typeguard 4 commit b452efd Author: Ben Clifford <[email protected]> Date: Wed Jul 19 13:02:32 2023 +0000 Expect a different type error in tests with typeguard 4.0.0 commit 177f1e4 Merge: 70e0879 b9f2ca3 Author: Ben Clifford <[email protected]> Date: Wed Jul 19 12:54:16 2023 +0000 Merge remote-tracking branch 'origin/master' into benc-typeguard-4 commit 70e0879 Merge: acde393 a001fe2 Author: Ben Clifford <[email protected]> Date: Tue Jul 18 15:00:08 2023 +0200 Merge branch 'master' into benc-typeguard-4 commit acde393 Author: Ben Clifford <[email protected]> Date: Wed Jul 12 08:03:59 2023 +0000 Loosen typeguard upper bound to allow major version 4
reworked this into #3044 |
This is most immediately driven by installing parsl on top of the lsst_distrib stack which currently has a recent typeguard.
Type of change