Skip to content

Commit d6f2a02

Browse files
Merge pull request #6 from Beauhurst/update-dependencies
update dependencies, add python 3.13 to CI, default to 3.11
2 parents 395a441 + f6c3292 commit d6f2a02

4 files changed

Lines changed: 648 additions & 646 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@ on:
88
jobs:
99
build-and-test:
1010
runs-on: ubuntu-latest
11+
defaults:
12+
run:
13+
shell: bash -l {0}
1114
continue-on-error: ${{ matrix.experimental }}
12-
name: "Build and Test on ${{ matrix.python-version }}, experimental: ${{ matrix.experimental }}"
15+
name: 'Build and Test on ${{ matrix.python-version }}, experimental: ${{ matrix.experimental }}'
1316
strategy:
1417
fail-fast: false
1518
matrix:
16-
python-version: ["3.10", "3.11", "3.12"]
17-
experimental: [false]
19+
python-version: [ '3.11', '3.12', '3.13' ]
20+
experimental: [ false ]
1821
# include:
19-
# - python-version: "3.13"
22+
# - python-version: "3.14"
2023
# experimental: true
2124
steps:
2225
- uses: actions/checkout@v4
@@ -27,7 +30,7 @@ jobs:
2730
python-version: ${{ matrix.python-version }}
2831

2932
- name: Install project
30-
run: uv sync --extra dev
33+
run: uv sync --dev
3134

3235
- name: Run Tests
3336
run: uv run ./run-tests.sh

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10.13
1+
3.11.12

pyproject.toml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[project]
22
name = "vatvalidate"
3-
version = "0.0.2"
3+
version = "0.0.3"
44
description = "vatvalidate is a Python library for validating UK VAT numbers."
55
authors = [{ name = "Beauhurst Devs", email = "dev@beauhurst.com" }]
6-
requires-python = ">=3.10,<3.13"
6+
requires-python = ">=3.11,<3.14"
77
readme = "README.md"
88
documentation = "https://github.com/Beauhurst/vatvalidate"
99
license = "MIT"
@@ -14,20 +14,19 @@ packages = [
1414
classifiers = [
1515
"Operating System :: OS Independent",
1616
"Programming Language :: Python :: 3",
17-
"Programming Language :: Python :: 3.10",
1817
"Programming Language :: Python :: 3.11",
1918
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
2020
"Programming Language :: Python :: 3 :: Only",
2121
]
2222

2323
[dependency-groups]
2424
debug = ["jupyter>=1,<2"]
2525
dev = [
26-
"ipython>=8,<9",
27-
"mypy>=1,<2",
28-
"pytest-cov>=6,<7",
29-
"pytest-mock>=3,<4",
30-
"pytest>=8,<9",
26+
"ipython>=8",
27+
"mypy>=1",
28+
"pytest-cov>=6",
29+
"pytest>=8",
3130
"ruff>=0,<1",
3231
]
3332

@@ -42,7 +41,7 @@ requires = ["hatchling"]
4241
build-backend = "hatchling.build"
4342

4443
[tool.ruff]
45-
target-version = "py38"
44+
target-version = "py311"
4645
src = ["vatvalidate", "tests"]
4746
extend-exclude = [
4847
".venv",

0 commit comments

Comments
 (0)