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
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ include_trailing_comma = true

lines_after_imports = 2
line_length = 88

profile = black
2 changes: 1 addition & 1 deletion .pylint.ini
Original file line number Diff line number Diff line change
Expand Up @@ -410,4 +410,4 @@ known-third-party=enchant

# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception
overgeneral-exceptions=builtins.Exception
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
3.9.12
3.10.4
3.11.11
3.12.8
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 5.0.1 (2025-01-06)

- Python requirement is now `>= 3.8.0,<3.13`.
- Updated `pylint` to `^3.0` in support of the above.

# 5.0.0 (2024-12-27)

- **[BREAKING CHANGE]** Python requirement is now `>= 3.8.0,<3.12`.
Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mkdocs==1.5.3 ; python_full_version >= "3.8.0" and python_version < "3.12"
pygments==2.17.2 ; python_full_version >= "3.8.0" and python_version < "3.12"
mkdocs==1.5.3 ; python_full_version >= "3.8.0" and python_version < "3.13"
pygments==2.17.2 ; python_full_version >= "3.8.0" and python_version < "3.13"
202 changes: 42 additions & 160 deletions poetry.lock

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]

name = "python_anvil"
version = "5.0.0"
version = "5.0.1"
description = "Anvil API"
license = "MIT"
authors = ["Anvil Foundry Inc. <developers@useanvil.com>"]
Expand All @@ -27,12 +27,13 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]

[tool.poetry.dependencies]

python = ">=3.8.0,<3.12"
python = ">=3.8.0,<3.13"

click = "^8.0"
requests = "^2.28.2"
Expand All @@ -44,12 +45,12 @@ gql = { version = "3.6.0b1", extras = ["requests"] }
[tool.poetry.group.dev.dependencies]

# Formatters
black = "=22.12.0"
black = "^24.8.0"
isort = "^5.11.4"

# Linters
pydocstyle = "^6.3.0"
pylint = "^2.16.2"
pylint = "^3.0"

# FIXME: Upgrading mypy will require updates to aliased fields. e.g.
#
Expand Down Expand Up @@ -93,7 +94,7 @@ anvil = "python_anvil.cli:cli"

[tool.black]

target-version = ["py38", "py39", "py310", "py311"]
target-version = ["py38", "py39", "py310", "py311", "py312"]
skip-string-normalization = true

[build-system]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
isolated_build = true
envlist = py38, py39, py310, py311
envlist = py38, py39, py310, py311, py312

[testenv]
whitelist_externals = poetry
Expand Down
Loading