Skip to content
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
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ _commit: c3214e6
_src_path: gh:scipp/copier_template
description: Common data reduction tools for the ESS facility
max_python: '3.13'
min_python: '3.10'
min_python: '3.11'
namespace_package: ess
nightly_deps: scippnexus,scipp,sciline,cyclebane,scippneutron,tof
orgname: scipp
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.10
3.11
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10
3.11
2 changes: 1 addition & 1 deletion docs/developer/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Alternatively, if you want a different workflow, take a look at ``tox.ini`` or `
Run the tests using

```sh
tox -e py310
tox -e py311
```

(or just `tox` if you want to run all environments).
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
requires-python = ">=3.10"
requires-python = ">=3.11"

# IMPORTANT:
# Run 'tox -e deps' after making changes here. This will update requirement files.
Expand Down
8 changes: 3 additions & 5 deletions tests/nexus/workflow_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2024 Scipp contributors (https://github.com/scipp)
from datetime import datetime, timezone
from datetime import UTC, datetime

import pytest
import scipp as sc
Expand Down Expand Up @@ -644,10 +644,8 @@ def test_generic_nexus_workflow_load_measurement_metadata() -> None:

assert measurement.title == 'My experiment'
assert measurement.experiment_id == 'p1234'
assert measurement.start_time == datetime(
2022, 2, 28, 21, 15, 0, tzinfo=timezone.utc
)
assert measurement.end_time == datetime(2032, 2, 29, 9, 15, 0, tzinfo=timezone.utc)
assert measurement.start_time == datetime(2022, 2, 28, 21, 15, 0, tzinfo=UTC)
assert measurement.end_time == datetime(2032, 2, 29, 9, 15, 0, tzinfo=UTC)
assert measurement.run_number is None
assert measurement.experiment_doi is None

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py310
envlist = py311
isolated_build = true

[testenv]
Expand Down
Loading