Skip to content

Commit 0016cac

Browse files
authored
Merge pull request #53 from tech1ndex/python314
Updates dependencies for Python 3.14 support
2 parents cb471bc + 06d8bba commit 0016cac

6 files changed

Lines changed: 665 additions & 405 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
FORCE_COLOR: "1"
11-
PYTHON_LATEST: "3.13"
11+
PYTHON_LATEST: "3.14"
1212

1313
jobs:
1414
deploy-pypi:

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
env:
1515
FORCE_COLOR: "1"
16-
PYTHON_LATEST: "3.13"
16+
PYTHON_LATEST: "3.14"
1717

1818
jobs:
1919
linting:
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
fail-fast: false
7272
matrix:
73-
python-version: ["3.13"]
73+
python-version: ["3.14"]
7474

7575
steps:
7676
- uses: actions/checkout@v3

poetry.lock

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

pyproject.toml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,27 @@ authors = [
88
readme = "README.md"
99

1010
[tool.poetry.dependencies]
11-
python = ">=3.13,<3.14"
11+
python = ">=3.14,<4.0"
1212
httpx = "^0.28.1"
13-
tenacity = "^9.1.2"
14-
structlog = "^23.1.0"
13+
tenacity = "^9.1.4"
14+
structlog = "^25.5.0"
1515

1616
[tool.poetry.group.dev.dependencies]
17-
black = "^23.7.0"
18-
flake8 = "^6.1.0"
19-
flake8-bugbear = "^23.7.10"
20-
isort = "^5.9.3"
21-
pytest = "^7.1.3"
17+
# Linting
18+
black = "^26.1.0"
19+
flake8 = "^7.3.0"
20+
flake8-bugbear = "^25.11.29"
21+
isort = "^5.12.0"
22+
23+
# Testing
24+
pytest = "^9.0.2"
2225
pytest-asyncio = "^0.21.1"
2326
pytest-cov = "^4.0.0"
2427
pytest-docker-tools = "^3.1.3"
2528
pytest-mock = "^3.10.0"
26-
mypy = "^1.5.1"
29+
30+
# Typing
31+
mypy = "^1.19.1"
2732
GitPython = "^3.1.29"
2833

2934
[tool.black]

src/foxops_client/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class FoxopsApiError(Exception):
22
def __init__(self, message: str):
3-
super().__init__()
3+
super().__init__(message)
44
self.message = message
55

66

tests/conftest.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,12 @@ def template(gitlab_api_client, locally_cloned_gitlab_project):
7474
(Path(root_dir) / "template").mkdir()
7575

7676
(Path(root_dir) / "template" / "README.md").write_text("{{ input_variable }}")
77-
(Path(root_dir) / "fengine.yaml").write_text(
78-
"""
77+
(Path(root_dir) / "fengine.yaml").write_text("""
7978
variables:
8079
input_variable:
8180
type: string
8281
description: dummy input variable
83-
"""
84-
)
82+
""")
8583

8684
repo.git.add(".")
8785
repo.git.commit("-m", "Initial commit")

0 commit comments

Comments
 (0)