8000 Drop python version 3.8 support and add python 3.13 support · danielgtaylor/python-betterproto@ebe94e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit ebe94e2

Browse files
committed
Drop python version 3.8 support and add python 3.13 support
1 parent 83f66e1 commit ebe94e2

File tree

7 files changed

+316
-150
lines changed

7 files changed

+316
-150
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [Ubuntu, MacOS, Windows]
19-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
19+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
2020
steps:
2121
- uses: actions/checkout@v4
2222

.github/workflows/code-quality.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
name: Check code/doc formatting
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-python@v4
18-
- uses: pre-commit/action@v2.0.3
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
- uses: pre-commit/action@v3.0.1

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v3
19-
- name: Set up Python 3.8
19+
- name: Set up Python 3.9
2020
uses: actions/setup-python@v4
2121
with:
22-
python-version: 3.8
22+
python-version: 3.9
2323
- name: Install poetry
2424
run: python -m pip install poetry
2525
- name: Build package

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
- toml
1919

2020
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
21-
rev: v2.10.0
21+
rev: v2.14.0
2222
hooks:
2323
- id: pretty-format-java
2424
args: [--autofix, --aosp]

poetry.lock

Lines changed: 306 additions & 140 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "MIT"
1212
packages = [
1313
{ include = "betterproto", from = "src" }
1414
]
15-
requires-python = ">=3.8,<4.0"
15+
requires-python = ">=3.9,<4.0"
1616
dynamic = ["dependencies"]
1717

1818
[tool.poetry.dependencies]
@@ -42,7 +42,7 @@ pytest-asyncio = "^0.12.0"
4242
pytest-cov = "^2.9.0"
4343
pytest-mock = "^3.1.1"
4444
pydantic = ">=2.0,<3"
45-
protobuf = "^4"
45+
protobuf = "^5"
4646
cachelib = "^0.10.2"
4747
tomlkit = ">=0.7.0"
4848

tests/test_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ def test_version():
1212
with PROJECT_TOML.open() as toml_file:
1313
project_config = tomlkit.loads(toml_file.read())
1414
assert (
15-
__version__ == project_config["tool"]["poetry"]["version"]
15+
__version__ == project_config["project"]["version"]
1616
), "Project version should match in package and package config"

0 commit comments

Comments
 (0)
0