Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: test

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Midnight UTC:
- cron: "0 0 * * *"
Expand All @@ -23,7 +21,7 @@ jobs:
matrix:
# Test all supported versions on Ubuntu:
os: [ubuntu-latest]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python: ["3.9", "3.10", "3.11", "3.12"]
experimental: [false]
build: ['']
include:
Expand Down Expand Up @@ -56,7 +54,7 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Set up Python ${{ matrix.python }} using deadsnakes
uses: deadsnakes/action@v3.1.0
uses: deadsnakes/action@v3.2.0
if: "endsWith(matrix.python, '-dev')"
with:
python-version: ${{ matrix.python }}
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: mypy

on:
push:
branches: [main]
pull_request:
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]

permissions:
contents: read
Expand All @@ -18,8 +14,8 @@ jobs:
name: Check code with mypy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: "pip"
cache-dependency-path: "pyproject.toml"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: pip
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ classifiers = [
'Programming Language :: Python :: 3',
'Programming Language :: Python',
]
requires-python = ">=3.7"
requires-python = ">=3.9"
dependencies = [
"pyperf",
"tomli; python_version < '3.11'",
Expand All @@ -85,7 +85,7 @@ find = {} # Scanning implicit namespaces is active by default
version = {attr = "pyperformance.__version__"}

[tool.mypy]
python_version = "3.7"
python_version = "3.9"
pretty = true
enable_error_code = "ignore-without-code"
disallow_any_generics = true
Expand Down
Loading