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 71
71
exclude :
72
72
- python-version : " 3.12-dev"
73
73
nogil : true
74
- - python-version : " pypy-3.9-nightly"
75
- nogil : true
76
74
- python-version : " pypy-3.10-nightly"
77
75
nogil : true
78
76
@@ -109,7 +107,6 @@ jobs:
109
107
env | sort
110
108
111
109
- name : " Check build recency"
112
- # if: "!startsWith(matrix.python-version, 'pypy-')"
113
110
shell : python
114
111
run : |
115
112
import platform
@@ -119,10 +116,11 @@ jobs:
119
116
built = datetime.strptime(platform.python_build()[1], fmt)
120
117
except ValueError:
121
118
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 within {recency}")
123
+ assert days <= recency
126
124
127
125
- name : " Install dependencies"
128
126
run : |
You can’t perform that action at this time.
0 commit comments