Skip to content

Commit 5016202

Browse files
committed
support pypy-3.7-v7.3.8+
1 parent 97230d1 commit 5016202

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
fail-fast: ${{ !contains(github.event.pull_request.labels.*.name, 'CI-no-fail-fast') }}
8383
matrix:
8484
rust: [stable]
85-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy-3.6, pypy-3.7-v7.3.7, pypy-3.8, pypy-3.9]
85+
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy-3.6, pypy-3.7, pypy-3.8, pypy-3.9]
8686
platform:
8787
[
8888
{
@@ -109,7 +109,7 @@ jobs:
109109
- python-version: pypy-3.6
110110
platform: { os: "windows-latest", python-architecture: "x64" }
111111
# PyPy doesn't release 32-bit Windows builds any more
112-
- python-version: pypy-3.7-v7.3.7
112+
- python-version: pypy-3.7
113113
platform: { os: "windows-latest", python-architecture: "x86" }
114114
- python-version: pypy-3.8
115115
platform: { os: "windows-latest", python-architecture: "x86" }

src/ffi/datetime.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ pub struct PyDateTime_CAPI {
361361
pub TimeType: *mut PyTypeObject,
362362
pub DeltaType: *mut PyTypeObject,
363363
pub TZInfoType: *mut PyTypeObject,
364-
#[cfg(all(Py_3_7, any(not(PyPy), Py_3_8)))]
364+
#[cfg(Py_3_7)]
365365
pub TimeZone_UTC: *mut PyObject,
366366
pub Date_FromDate: unsafe extern "C" fn(
367367
year: c_int,
@@ -395,7 +395,7 @@ pub struct PyDateTime_CAPI {
395395
normalize: c_int,
396396
cls: *mut PyTypeObject,
397397
) -> *mut PyObject,
398-
#[cfg(all(Py_3_7, any(not(PyPy), Py_3_8)))]
398+
#[cfg(Py_3_7)]
399399
pub TimeZone_FromTimeZone:
400400
unsafe extern "C" fn(offset: *mut PyObject, name: *mut PyObject) -> *mut PyObject,
401401

0 commit comments

Comments
 (0)