Skip to content

Commit

Permalink
Bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mochipon committed Jan 19, 2025
1 parent 369bfe4 commit 40aa5eb
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 36 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: Build and Test
strategy:
matrix:
python-versions: ['3.8', '3.9', '3.10', '3.11']
python-versions: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
run: ls -Rla ${{steps.download.outputs.download-path}}

- name: 🚀 Publish code coverage to Code Climate
uses: paambaati/codeclimate-action@v8.0.0
uses: paambaati/codeclimate-action@v9.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
Expand All @@ -99,7 +99,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.14'

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

strategy:
matrix:
python-versions: ['3.11']
python-versions: ['3.14']

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
25 changes: 10 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: forbid-tabs
- id: remove-tabs
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-builtin-literals
Expand All @@ -18,22 +18,17 @@ repos:
- id: forbid-new-submodules
- id: trailing-whitespace
- id: mixed-line-ending
- repo: https://github.com/pycqa/isort
rev: 5.13.2
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.9.2
hooks:
- id: isort
files: \.py$
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies: [flake8-typing-imports]
# Run the linter.
- id: ruff
args: [--fix]
# Run the formatter.
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
rev: v1.14.1
hooks:
- id: mypy
files: octodns_netbox
Expand Down
32 changes: 18 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=2.0.0,<3.0.0"]

[poetry.group.dev.dependencies]
pre-commit = "^4.0.0"
pytest = "^8.0.0"
pytest-cov = "^6.0.0"
requests-mock = "^1.12.0"
tox = "^4.0.0"

[tool]

Expand Down Expand Up @@ -30,10 +37,11 @@ classifiers = [
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11'
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13'
]
description = "A NetBox source for octoDNS."
homepage = "https://github.com/sukiyaki/octodns-netbox"
Expand All @@ -48,19 +56,15 @@ version = "0.0.0"

[tool.poetry.dependencies]
octodns = {version = "^1.0.0"}
poetry = "^1.7.1"
poetry = "^2.0.0"
pydantic = "^2.0.0"
pynetbox = {version = "^7.0.0"}
python = ">=3.8,<4.0"
requests = {version = "^2.31.0"}
typing-extensions = {version = "^4.9.0", python = "<3.9"}
python = ">=3.9,<4.0"
requests = {version = "^2.32.0"}
typing-extensions = {version = "^4.12.0", python = "<3.9"}

[tool.poetry.dev-dependencies]
pre-commit = "^3.0.0"
pytest = "^8.0.0"
pytest-cov = "^5.0.0"
requests-mock = "^1.11.0"
tox = "^4.0.0"
[tool.poetry.requires-plugins]
poetry-dynamic-versioning = {version = ">=1.0.0,<2.0.0", extras = ["plugin"]}

[tool.poetry-dynamic-versioning]
bump = true
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[tox]
isolated_build = true
envlist =
py38, py39, py310, py311
py39, py310, py311, py312, py313
coverage, lint, packaging

[gh-actions]
python =
3.11: py311, coverage, lint, packaging
3.13: py313, coverage, lint, packaging
3.12: py312, coverage
3.11: py311, coverage
3.10: py310, coverage
3.9: py39, coverage
3.8: py38, coverage

[testenv]
setenv =
Expand Down

0 comments on commit 40aa5eb

Please sign in to comment.