Skip to content

Commit

Permalink
Merge pull request #93 from willkg/91-python312
Browse files Browse the repository at this point in the history
add support for python 3.12
  • Loading branch information
willkg authored Oct 3, 2023
2 parents f1c2832 + 009f383 commit eee230c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

name: Python ${{ matrix.python-version}}
steps:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ clean: ## Clean build artifacts

.PHONY: lint
lint: ## Lint and black reformat files
black --target-version=py37 --line-length=88 setup.py src tests
tox -e py37-lint
black setup.py src tests
tox -e py38-lint

.PHONY: test
test: ## Run tests
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ envlist =
py39
py310
py311
py312
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
deps = -rrequirements-dev.txt
Expand Down
16 changes: 8 additions & 8 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
-e .

black==22.10.0
build==0.9.0
black==23.9.1
build==1.0.3
check-manifest==0.49
cogapp==3.3.0
freezegun==1.2.2
pytest==7.2.0
responses==0.22.0
ruff==0.0.262
tox==3.27.1
tox-gh-actions==2.11.0
pytest==7.4.2
responses==0.23.3
ruff==0.0.292
tox==4.11.3
tox-gh-actions==3.1.3
twine==4.0.2
wheel==0.38.4
wheel==0.41.2
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def get_version():
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
],
Expand Down
1 change: 0 additions & 1 deletion src/crashstats_tools/cmd_fetch_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def fetch_crash(

# Fetch dumps
for dump_name in dump_names:

# We store "upload_file_minidump" as "dump", so we need to use that
# name when requesting from the RawCrash api
file_name = dump_name
Expand Down

0 comments on commit eee230c

Please sign in to comment.