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

Update python version to 3.12 from 3.9 #16

Merged
merged 2 commits into from
Apr 19, 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
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: ec8da94
_commit: d91bf92
_src_path: gh:scipp/copier_template
description: A daemon that creates a raw dataset using scicat interface whenever a
new file is written by a file-writer.
max_python: '3.12'
min_python: '3.9'
min_python: '3.12'
namespace_package: ''
nightly_deps: ''
orgname: ScicatProject
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-version-ci
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9
3.12
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
requires-python = ">=3.9"
requires-python = ">=3.12"

# IMPORTANT:
# Run 'tox -e deps' after making changes here. This will update requirement files.
Expand Down Expand Up @@ -82,5 +79,4 @@ enable_error_code = [
"redundant-expr",
"truthy-bool",
]
show_error_codes = true
warn_unreachable = true
3 changes: 0 additions & 3 deletions requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@
copier
pip-compile-multi
pre-commit

# See https://github.com/copier-org/copier/issues/1568
pyyaml-include<2
2 changes: 2 additions & 0 deletions tests/minimum_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def test_package() -> None:
import scicat_filewriter_ingest # noqa: F401
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py39
envlist = py312
isolated_build = true

[testenv]
Expand Down