8000 Drop support for Python 3.7 and 3.8 (#355) · python/pyperformance@0e9646c · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e9646c

Browse files
authored
Drop support for Python 3.7 and 3.8 (#355)
1 parent 2214c06 commit 0e9646c

File tree

4 files changed

+9
-15
lines changed

4 files changed

+9
-15
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: test
22

33
on:
44
push:
5-
branches: [main]
65
pull_request:
7-
branches: [main]
86
schedule:
97
# Midnight UTC:
108
- cron: "0 0 * * *"
@@ -23,7 +21,7 @@ jobs:
2321
matrix:
2422
# Test all supported versions on Ubuntu:
2523
os: [ubuntu-latest]
26-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
24+
python: ["3.9", "3.10", "3.11", "3.12"]
2725
experimental: [false]
2826
build: ['']
2927
include:
@@ -56,7 +54,7 @@ jobs:
5654
with:
5755
python-version: ${{ matrix.python }}
5856
- name: Set up Python ${{ matrix.python }} using deadsnakes
59-
uses: deadsnakes/action@v3.1.0
57+
uses: deadsnakes/action@v3.2.0
6058
if: "endsWith(matrix.python, '-dev')"
6159
with:
6260
python-version: ${{ matrix.python }}

.github/workflows/mypy.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: mypy
22

3-
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
workflow_dispatch:
3+
on: [push, pull_request, workflow_dispatch]
84

95
permissions:
106
contents: read
@@ -18,8 +14,8 @@ jobs:
1814
name: Check code with mypy
1915
runs-on: ubuntu-latest
2016
steps:
21-
- uses: actions/checkout@v3
22-
- uses: actions/setup-python@v4
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-python@v5
2319
with:
2420
cache: "pip"
2521
cache-dependency-path: "pyproject.toml"

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
id-token: write
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Set up Python
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: '3.x'
2323
cache: pip

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ classifiers = [
5858
'Programming Language :: Python :: 3',
5959
'Programming Language :: Python',
6060
]
61-
requires-python = ">=3.7"
61+
requires-python = ">=3.9"
6262
dependencies = [
6363
"pyperf",
6464
"tomli; python_version < '3.11'",
@@ -85,7 +85,7 @@ find = {} # Scanning implicit namespaces is active by default
8585
version = {attr = "pyperformance.__version__"}
8686

8787
[tool.mypy]
88-
python_version = "3.7"
88+
python_version = "3.9"
8989
pretty = true
9090
enable_error_code = "ignore-without-code"
9191
disallow_any_generics = true

0 commit comments

Comments
 (0)
0