Skip to content

Commit 9ce66e6

Browse files
authored
Merge pull request #70 from cadenmyers13/windows-ci
CI: fix matrix testing on merge
2 parents a893e67 + cfda207 commit 9ce66e6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/tests-on-pr.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
project: diffpy.cmi
1212
c_extension: false
1313
headless: false
14-
python_version: 3.13
1514
run: |
1615
set -Eeuo pipefail
1716
echo "Test cmds"

news/bump-version.rst renamed to news/windows-ci.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**Added:**
22

3-
* Add support for Python 3.14
3+
* <news item>
44

55
**Changed:**
66

@@ -12,11 +12,11 @@
1212

1313
**Removed:**
1414

15-
* Remove support for Python 3.11
15+
* <news item>
1616

1717
**Fixed:**
1818

19-
* <news item>
19+
* Fixed how paths are handled in tests for different operating systems.
2020

2121
**Security:**
2222

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ maintainers = [
1414
description = "Complex modeling infrastructure: a modular framework for multi-modal modeling of scientific data."
1515
keywords = ['modelling', 'regression', 'diffraction', 'PDF', 'complex-modeling']
1616
readme = "README.rst"
17-
requires-python = ">=3.12, <3.15"
17+
requires-python = ">=3.11, <3.14"
1818
classifiers = [
1919
'Development Status :: 5 - Production/Stable',
2020
'Environment :: Console',
@@ -25,9 +25,9 @@ classifiers = [
2525
'Operating System :: Microsoft :: Windows',
2626
'Operating System :: POSIX',
2727
'Operating System :: Unix',
28+
'Programming Language :: Python :: 3.11',
2829
'Programming Language :: Python :: 3.12',
2930
'Programming Language :: Python :: 3.13',
30-
'Programming Language :: Python :: 3.14',
3131
'Topic :: Scientific/Engineering :: Physics',
3232
'Topic :: Scientific/Engineering :: Chemistry',
3333
]

tests/test_packsmanager.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ def paths_and_names_match(expected, actual, root):
1515
for (exp_name, exp_path), (act_name, act_path) in zip(expected, actual):
1616
if exp_name != act_name:
1717
return False
18-
actual_rel_path = str(act_path.relative_to(root))
19-
if actual_rel_path != exp_path:
18+
actual_rel_path = act_path.relative_to(root).as_posix()
19+
expected_path_norm = Path(exp_path).as_posix()
20+
if actual_rel_path != expected_path_norm:
2021
return False
2122
return True
2223

0 commit comments

Comments
 (0)