-
Notifications
You must be signed in to change notification settings - Fork 617
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
ci: Update to pypy-3.7 and add Python 3.10 on Ubuntu & MacOS #1143
Conversation
PyPy 3.6 is no longer available on the macos-latest (macOS-11) image, see actions/runner-images#4060
Codecov Report
@@ Coverage Diff @@
## develop #1143 +/- ##
===========================================
- Coverage 70.49% 70.45% -0.04%
===========================================
Files 79 79
Lines 7679 7681 +2
===========================================
- Hits 5413 5412 -1
- Misses 2266 2269 +3 |
0a662cf
to
770b210
Compare
Hypothesis throws a "Flaky" error for inconsistent data on PyPy-3.7 + Windows only, when generating timestamp fields. I think this is a bug in either Hypothesis or PyPy, but I don't know which.
770b210
to
d72c7d0
Compare
I don't understand this Hypothesis internal error on Windows pypy-3.7. Example log: It seems to detect that the representation of the timestamp float is inconsistent between two runs with the same value. I'm guessing it's a bug in either pypy or Hypothesis with float representation, I don't think it's anything that python-can is doing. I tried a few quick workarounds but have marked the test as an expected failure for now. Something similar sounding was reported here but seems to be solved: |
@felixdivo PTAL as well if you have time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful! Thanks for investigating.
@@ -13,11 +13,16 @@ jobs: | |||
matrix: | |||
os: [ubuntu-latest, macos-latest, windows-latest] | |||
experimental: [false] | |||
python-version: [3.6, 3.7, 3.8, 3.9, pypy3] | |||
python-version: ["3.6", "3.7", "3.8", "3.9", "pypy-3.7"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼
Thanks! |
…e#1143) * ci: Change pypy3 to pypy-3.7 PyPy 3.6 is no longer available on the macos-latest (macOS-11) image, see actions/runner-images#4060 * ci: Use release version Python 3.10, run syntax checks under 3.10 * listener: Fix PyPy 3.7 error passing a timeout parameter together with block=False * test: Ignore Hypothesis float generation issue with Windows+PyPy-3.7 Hypothesis throws a "Flaky" error for inconsistent data on PyPy-3.7 + Windows only, when generating timestamp fields. I think this is a bug in either Hypothesis or PyPy, but I don't know which.
Two CI changes related to Python versions: