Skip to content

Commit cfbf9b0

Browse files
authored
Merge pull request #16 from SciCatProject/update-python-version
Update python version to 3.12 from 3.9
2 parents 5d50056 + 0c1b24b commit cfbf9b0

File tree

6 files changed

+7
-12
lines changed

6 files changed

+7
-12
lines changed

.copier-answers.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: ec8da94
2+
_commit: d91bf92
33
_src_path: gh:scipp/copier_template
44
description: A daemon that creates a raw dataset using scicat interface whenever a
55
new file is written by a file-writer.
66
max_python: '3.12'
7-
min_python: '3.9'
7+
min_python: '3.12'
88
namespace_package: ''
99
nightly_deps: ''
1010
orgname: ScicatProject

.github/workflows/python-version-ci

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.9
1+
3.12

pyproject.toml

+1-5
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,11 @@ classifiers = [
1818
"Operating System :: OS Independent",
1919
"Programming Language :: Python :: 3",
2020
"Programming Language :: Python :: 3 :: Only",
21-
"Programming Language :: Python :: 3.9",
22-
"Programming Language :: Python :: 3.10",
23-
"Programming Language :: Python :: 3.11",
2421
"Programming Language :: Python :: 3.12",
2522
"Topic :: Scientific/Engineering",
2623
"Typing :: Typed",
2724
]
28-
requires-python = ">=3.9"
25+
requires-python = ">=3.12"
2926

3027
# IMPORTANT:
3128
# Run 'tox -e deps' after making changes here. This will update requirement files.
@@ -82,5 +79,4 @@ enable_error_code = [
8279
"redundant-expr",
8380
"truthy-bool",
8481
]
85-
show_error_codes = true
8682
warn_unreachable = true

requirements/dev.in

-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@
66
copier
77
pip-compile-multi
88
pre-commit
9-
10-
# See https://github.com/copier-org/copier/issues/1568
11-
pyyaml-include<2

tests/minimum_test.py

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def test_package() -> None:
2+
import scicat_filewriter_ingest # noqa: F401

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py39
2+
envlist = py312
33
isolated_build = true
44

55
[testenv]

0 commit comments

Comments
 (0)