Skip to content

Commit dcf402c

Browse files
chore: drop python 3.9 (#183)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent e5464fa commit dcf402c

File tree

6 files changed

+7
-18
lines changed

6 files changed

+7
-18
lines changed

.github/workflows/mypy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ ubuntu-latest, macos-latest, windows-latest ]
23-
pyversion: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
23+
pyversion: [ "3.10", "3.11", "3.12", "3.13" ]
2424

2525
steps:
2626
- name: Checkout

.github/workflows/pytest.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,14 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ ubuntu-latest, macos-latest, windows-latest ]
25-
pyversion: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
25+
pyversion: [ "3.10", "3.11", "3.12", "3.13" ]
2626
include:
2727
- os: ubuntu-latest
2828
path: ~/.cache/pip
2929
- os: macos-latest
3030
path: ~/Library/Caches/pip
3131
- os: windows-latest
3232
path: ~\AppData\Local\pip\Cache
33-
exclude:
34-
# gh runner throws "Error: Version ${{ matrix.pyversion }} with arch arm64 not found"
35-
- os: macos-latest
36-
pyversion: "3.8"
37-
- os: macos-latest
38-
pyversion: "3.9"
3933
defaults:
4034
run:
4135
shell: bash

build/evmspec/__native__new.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ char CPyDef___top_level__(void) {
527527
CPy_INCREF(CPyModule_builtins);
528528
CPy_DECREF(cpy_r_r4);
529529
CPyL3: ;
530-
cpy_r_r5 = CPyStatics[DIFFCHECK_PLACEHOLDER]; /* ('Final', 'Type', 'TypeVar', 'Union') */
530+
cpy_r_r5 = CPyStatics[DIFFCHECK_PLACEHOLDER]; /* ('Final', 'TypeVar', 'Union') */
531531
cpy_r_r6 = CPyStatics[DIFFCHECK_PLACEHOLDER]; /* 'typing' */
532532
cpy_r_r7 = CPyStatic_globals;
533533
cpy_r_r8 = CPyImport_ImportFromMany(cpy_r_r6, cpy_r_r5, cpy_r_r5, cpy_r_r7);
@@ -741,7 +741,7 @@ int CPyGlobalsInit(void)
741741
PyObject *CPyStatics[DIFFCHECK_PLACEHOLDER];
742742
const char * const CPyLit_Str[] = {
743743
"\a\a__new__\0020x\r_check_hexstr\bKeyError\016 is too long: \nValueError\bbuiltins",
744-
"\a\005Final\004Type\aTypeVar\005Union\006typing\tcchecksum\026faster_hexbytes._utils",
744+
"\006\005Final\aTypeVar\005Union\006typing\tcchecksum\026faster_hexbytes._utils",
745745
"\006\017faster_hexbytes\017evmspec/_new.py\b<module>\nAnyAddress\neth_typing\003__T",
746746
"\004\016ONE_EMPTY_BYTE\rMISSING_BYTES\bto_bytes\023to_checksum_address",
747747
"",
@@ -755,10 +755,7 @@ const char * const CPyLit_Int[] = {
755755
};
756756
const double CPyLit_Float[] = {0};
757757
const double CPyLit_Complex[] = {0};
758-
const int CPyLit_Tuple[] = {
759-
5, 4, 10, 11, 12, 13, 3, 15, 15, 15, 3, 16, 17, 17, 2, 29, 30, 1,
760-
20
761-
};
758+
const int CPyLit_Tuple[] = {5, 3, 10, 11, 12, 3, 14, 14, 14, 3, 15, 16, 16, 2, 28, 29, 1, 19};
762759
const int CPyLit_FrozenSet[] = {0};
763760
CPyModule *CPyModule_evmspec____new__internal = NULL;
764761
CPyModule *CPyModule_evmspec____new;

build/evmspec/__native_internal__new.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
int CPyGlobalsInit(void);
88

9-
extern PyObject *CPyStatics[33];
9+
extern PyObject *CPyStatics[32];
1010
extern const char * const CPyLit_Str[];
1111
extern const char * const CPyLit_Bytes[];
1212
extern const char * const CPyLit_Int[];

evmspec/structs/trace/_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
from dictstruct import DictStruct, LazyDictStruct
32
from msgspec import UNSET, field
43

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def combine_markers(a, b):
161161
long_description=long_description,
162162
long_description_content_type="text/markdown",
163163
version=poetry_config["version"],
164-
python_requires=">=3.9,<3.14",
164+
python_requires=">=3.10,<3.14",
165165
author="BobTheBuidler",
166166
author_email="[email protected]",
167167
packages=find_packages(),
@@ -183,7 +183,6 @@ def combine_markers(a, b):
183183
classifiers=[
184184
"Intended Audience :: Developers",
185185
"Programming Language :: Python :: 3",
186-
"Programming Language :: Python :: 3.9",
187186
"Programming Language :: Python :: 3.10",
188187
"Programming Language :: Python :: 3.11",
189188
"Programming Language :: Python :: 3.12",

0 commit comments

Comments
 (0)