File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 7171 exclude :
7272 - python-version : " 3.12-dev"
7373 nogil : true
74- - python-version : " pypy-3.9-nightly"
75- nogil : true
7674 - python-version : " pypy-3.10-nightly"
7775 nogil : true
7876
@@ -109,7 +107,6 @@ jobs:
109107 env | sort
110108
111109 - name : " Check build recency"
112- # if: "!startsWith(matrix.python-version, 'pypy-')"
113110 shell : python
114111 run : |
115112 import platform
@@ -119,10 +116,11 @@ jobs:
119116 built = datetime.strptime(platform.python_build()[1], fmt)
120117 except ValueError:
121118 continue
122- now = datetime.now()
123- days = (now - built).days
124- print(f"Days since Python was built: {days}")
125- assert days <= 7
119+ days = (datetime.now() - built).days
120+ impl = platform.python_implementation()
121+ recency = 7 if (impl == "CPython") else 21
122+ print(f"Days since {impl} was built: {days}, need {recency}")
123+ assert days <= recency
126124
127125 - name : " Install dependencies"
128126 run : |
You can’t perform that action at this time.
0 commit comments