Skip to content

Commit ec71abe

Browse files
committed
Added Python 3.14 CI test target
1 parent 5090a45 commit ec71abe

File tree

9 files changed

+21
-22
lines changed

9 files changed

+21
-22
lines changed

.github/workflows/test_docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
version: ['39', '40']
10+
version: ['41', '42']
1111
container:
1212
image: registry.fedoraproject.org/fedora:${{ matrix.version }}
1313
steps:
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
add-apt-repository -y ppa:gift/dev
5656
apt-get update -q
57-
apt-get install -y build-essential libbde-python3 libcaes-python3 libcreg-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libphdi-python3 libqcow-python3 libregf-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3 python3-artifacts python3-build python3-cffi-backend python3-dev python3-dfdatetime python3-dfimagetools python3-dfvfs python3-dfwinreg python3-dtfabric python3-idna python3-pip python3-pytsk3 python3-setuptools python3-wheel python3-xattr python3-yaml
57+
apt-get install -y build-essential libbde-python3 libcaes-python3 libcreg-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libphdi-python3 libqcow-python3 libregf-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3 python3-artifacts python3-build python3-cffi-backend python3-dev python3-dfdatetime python3-dfimagetools python3-dfvfs python3-dfwinreg python3-dtfabric python3-idna python3-pip python3-pytsk3 python3-setuptools python3-venv python3-wheel python3-xattr python3-yaml
5858
- name: Run tests
5959
env:
6060
LANG: en_US.UTF-8

.github/workflows/test_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
add-apt-repository -y ppa:deadsnakes/ppa
3737
add-apt-repository -y ppa:gift/dev
3838
apt-get update -q
39-
apt-get install -y build-essential git libffi-dev python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libphdi-python3 libqcow-python3 libregf-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-artifacts python3-cffi-backend python3-dfdatetime python3-dfimagetools python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-idna python3-lib2to3 python3-pip python3-pytsk3 python3-setuptools python3-xattr python3-yaml
39+
apt-get install -y build-essential git libffi-dev pkg-config python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libphdi-python3 libqcow-python3 libregf-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-artifacts python3-cffi-backend python3-dfdatetime python3-dfimagetools python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-idna python3-lib2to3 python3-pip python3-pytsk3 python3-setuptools python3-xattr python3-yaml
4040
- name: Install tox
4141
run: |
4242
python3 -m pip install tox

.github/workflows/test_tox.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
strategy:
1515
matrix:
1616
include:
17-
- python-version: '3.8'
18-
toxenv: 'py38,wheel'
1917
- python-version: '3.9'
2018
toxenv: 'py39,wheel'
2119
- python-version: '3.10'
@@ -26,6 +24,8 @@ jobs:
2624
toxenv: 'py312,wheel'
2725
- python-version: '3.13'
2826
toxenv: 'py313,wheel'
27+
- python-version: '3.14'
28+
toxenv: 'py314,wheel'
2929
container:
3030
image: ubuntu:22.04
3131
steps:
@@ -46,7 +46,7 @@ jobs:
4646
add-apt-repository -y ppa:deadsnakes/ppa
4747
add-apt-repository -y ppa:gift/dev
4848
apt-get update -q
49-
apt-get install -y build-essential git libffi-dev python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libphdi-python3 libqcow-python3 libregf-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-artifacts python3-cffi-backend python3-dfdatetime python3-dfimagetools python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-idna python3-lib2to3 python3-pip python3-pytsk3 python3-setuptools python3-xattr python3-yaml
49+
apt-get install -y build-essential git libffi-dev pkg-config python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libphdi-python3 libqcow-python3 libregf-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-artifacts python3-cffi-backend python3-dfdatetime python3-dfimagetools python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-idna python3-lib2to3 python3-pip python3-pytsk3 python3-setuptools python3-xattr python3-yaml
5050
- name: Install tox
5151
run: |
5252
python3 -m pip install tox
@@ -82,7 +82,7 @@ jobs:
8282
add-apt-repository -y ppa:deadsnakes/ppa
8383
add-apt-repository -y ppa:gift/dev
8484
apt-get update -q
85-
apt-get install -y build-essential git libffi-dev python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libphdi-python3 libqcow-python3 libregf-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-artifacts python3-cffi-backend python3-dfdatetime python3-dfimagetools python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-idna python3-lib2to3 python3-pip python3-pytsk3 python3-setuptools python3-xattr python3-yaml
85+
apt-get install -y build-essential git libffi-dev pkg-config python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libphdi-python3 libqcow-python3 libregf-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-artifacts python3-cffi-backend python3-dfdatetime python3-dfimagetools python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-idna python3-lib2to3 python3-pip python3-pytsk3 python3-setuptools python3-xattr python3-yaml
8686
- name: Install tox
8787
run: |
8888
python3 -m pip install tox
@@ -122,7 +122,7 @@ jobs:
122122
add-apt-repository -y ppa:deadsnakes/ppa
123123
add-apt-repository -y ppa:gift/dev
124124
apt-get update -q
125-
apt-get install -y build-essential git libffi-dev python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libphdi-python3 libqcow-python3 libregf-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-artifacts python3-cffi-backend python3-dfdatetime python3-dfimagetools python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-idna python3-lib2to3 python3-pip python3-pytsk3 python3-setuptools python3-xattr python3-yaml
125+
apt-get install -y build-essential git libffi-dev pkg-config python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libluksde-python3 libmodi-python3 libphdi-python3 libqcow-python3 libregf-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-artifacts python3-cffi-backend python3-dfdatetime python3-dfimagetools python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-idna python3-lib2to3 python3-pip python3-pytsk3 python3-setuptools python3-xattr python3-yaml
126126
- name: Install tox
127127
run: |
128128
python3 -m pip install tox

.pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ disable=assignment-from-none,
470470
too-many-lines,
471471
too-many-locals,
472472
too-many-nested-blocks,
473+
too-many-positional-arguments,
473474
too-many-public-methods,
474475
too-many-return-statements,
475476
too-many-statements,

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ environment:
2828
PYTHON_VERSION: "3.12"
2929
L2TBINARIES_TRACK: "dev"
3030
TARGET: wheel
31-
- DESCRIPTION: "Run tests on Mac OS with Python 3.12"
32-
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
31+
- DESCRIPTION: "Run tests on Mac OS with Python 3.13"
32+
APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
3333
HOMEBREW_NO_INSTALL_CLEANUP: 1
3434
TARGET: tests
3535

config/appveyor/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -e
44

5+
brew untap homebrew/homebrew-cask-versions
56
brew update -q
6-
brew install -q gettext gnu-sed python@3.12 tox || true
7+
brew install -q gettext gnu-sed python@3.13 tox || true
78

config/appveyor/runtests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export LDFLAGS="-L/usr/local/lib -L/usr/local/opt/gettext/lib ${LDFLAGS}";
99
export CPPFLAGS="-I/usr/local/opt/[email protected]/include ${CPPFLAGS}";
1010
export LDFLAGS="-L/usr/local/opt/[email protected]/lib ${LDFLAGS}";
1111

12-
# Set the following environment variables to ensure tox can find Python 3.12.
13-
export PATH="/usr/local/opt/python@3.12/bin:${PATH}";
12+
# Set the following environment variables to ensure tox can find Python 3.13.
13+
export PATH="/usr/local/opt/python@3.13/bin:${PATH}";
1414

15-
tox -e py312
15+
tox -e py313

setup.cfg

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = sqliterc
3-
version = 20241013
3+
version = 20251014
44
description = SQLite database resources (sqliterc)
55
long_description = sqliterc is a Python module part of sqlite-kb to allow reuse of SQLite database resources.
66
long_description_content_type = text/plain
@@ -22,7 +22,7 @@ install_requires = file:requirements.txt
2222
package_dir =
2323
sqliterc = sqliterc
2424
packages = find:
25-
python_requires = >=3.8
25+
python_requires = >=3.9
2626
scripts =
2727
scripts/extract.py
2828

@@ -37,6 +37,3 @@ exclude =
3737
tests.*
3838
utils
3939
where = .
40-
41-
[bdist_wheel]
42-
universal = 1

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py3{8,9,10,11,12,13},coverage,docformatter,docs,lint,wheel
2+
envlist = py3{8,9,10,11,12,13,14},coverage,docformatter,docs,lint,wheel
33

44
[testenv]
55
allowlist_externals = ./run_tests.py
@@ -19,7 +19,7 @@ deps =
1919
setuptools >= 65
2020
wheel
2121
commands =
22-
py3{8,9,10,11,12,13}: ./run_tests.py
22+
py3{9,10,11,12,13,14}: ./run_tests.py
2323
coverage: coverage erase
2424
coverage: coverage run --source=sqliterc --omit="*_test*,*__init__*,*test_lib*" run_tests.py
2525
coverage: coverage xml
@@ -53,7 +53,7 @@ deps =
5353
-rrequirements.txt
5454
-rtest_requirements.txt
5555
docformatter
56-
pylint >= 3.2.0, < 3.3.0
56+
pylint >= 3.3.0, < 3.4.0
5757
setuptools
5858
yamllint >= 1.26.0
5959
commands =

0 commit comments

Comments
 (0)