Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc. updates #566

Merged
merged 4 commits into from
Oct 12, 2024
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
21 changes: 12 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ on:
jobs:
lint:

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 10

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12
- name: Lint with flake8
run: |
pip install flake8
Expand All @@ -55,9 +55,12 @@ jobs:
- os: ubuntu-22.04
python-version: '3.10'
toxenv: py310
- os: ubuntu-22.04
- os: ubuntu-24.04
python-version: '3.11'
toxenv: py311
- os: ubuntu-24.04
python-version: '3.12'
toxenv: py312

env:
TOXENV: ${{ matrix.toxenv }}
Expand All @@ -66,16 +69,16 @@ jobs:
timeout-minutes: 40

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# just fetching 1 commit is not enough for setuptools-scm, so we fetch all
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.d/dev.txt') }}
Expand All @@ -93,7 +96,7 @@ jobs:
run: |
tox --skip-missing-interpreters
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
OS: ${{ runner.os }}
python: ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This project is licensed under the the 3-clause BSD license (also known as
"Revised BSD License", "New BSD License", or "Modified BSD License"):

Copyright (c) 2013-2023, The nsupdate.info Development Team (see AUTHORS file)
Copyright (c) 2013-2024, The nsupdate.info Development Team (see AUTHORS file)
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

# General information about the project.
project = u'nsupdate.info'
copyright = u'2013-2023, The nsupdate.info Team'
copyright = u'2013-2024, The nsupdate.info Team'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
include_package_data=True,
zip_safe=False,
platforms='any',
python_requires='>=3.8, <3.12',
python_requires='>=3.8, <3.13',
setup_requires=['setuptools_scm'],
install_requires=[
'dnspython',
Expand All @@ -53,6 +53,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Internet :: Name Service (DNS)',
],
)
4 changes: 0 additions & 4 deletions src/nsupdate/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@
# to load the internationalization machinery.
USE_I18N = True

# If you set this to False, Django will not format dates, numbers and
# calendars according to the current locale.
USE_L10N = True

# If you set this to False, Django will not use timezone-aware datetimes.
USE_TZ = True

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# tox --recreate

[tox]
envlist = py{38,39,310,311}
envlist = py{38,39,310,311,312}

[testenv]
deps =
Expand Down
Loading