File tree Expand file tree Collapse file tree 6 files changed +9
-21
lines changed
Expand file tree Collapse file tree 6 files changed +9
-21
lines changed Original file line number Diff line number Diff line change 3232 strategy :
3333 matrix :
3434 os : ['ubuntu-latest', 'macos-latest']
35- python : ['3.9 ', '3'] # oldest/newest supported versions
35+ python : ['3.12 ', '3'] # oldest/newest supported versions
3636 steps :
3737 - name : Checkout
3838 uses : actions/checkout@v5
5454 - name : Inspect
5555 run : |
5656 unzip -l dist/*.whl | tee files
57+ set -x
5758 grep -E 'cylc_uiserver.*.dist-info/.*COPYING' files
5859 grep 'cylc/uiserver/py.typed' files
5960 grep 'cylc/uiserver/ui' files
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ jobs:
2727 fail-fast : false
2828 matrix :
2929 os : ['ubuntu-latest']
30- python-version : ['3.9 ', '3']
30+ python-version : ['3.12 ', '3']
3131 include :
3232 - os : ' macos-latest'
33- python-version : ' 3.9 ' # oldest supported
33+ python-version : ' 3.12 ' # oldest supported
3434 env :
3535 PYTEST_ADDOPTS : --cov --color=yes
3636
Original file line number Diff line number Diff line change 1515
1616# Configuration file for jupyterhub.
1717
18+ from importlib .resources import files
1819from pathlib import Path
19- import sys
20-
21-
22- if sys .version_info [:2 ] > (3 , 8 ):
23- from importlib .resources import files
24- else :
25- # BACK_COMPAT: importlib_resources
26- from importlib_resources import files
2720
2821from cylc .uiserver import (
2922 __file__ as uis_pkg ,
Original file line number Diff line number Diff line change 11[mypy]
2- python_version = 3.9
2+ python_version = 3.12
33ignore_missing_imports = True
44files = cylc/uiserver
55# don't run mypy on these files directly
Original file line number Diff line number Diff line change @@ -63,15 +63,15 @@ verbosity_assertions = 2
6363
6464[tool .ruff ]
6565line-length = 79
66- target-version = " py37 "
66+ target-version = " py312 "
6767
6868[tool .ruff .format ]
6969quote-style = " preserve"
7070
7171
7272[tool .black ]
7373line-length = 79
74- target-version = [' py37 ' ]
74+ target-version = [' py312 ' ]
7575skip-string-normalization = true
7676
7777
Original file line number Diff line number Diff line change @@ -33,17 +33,12 @@ classifiers =
3333 License :: OSI Approved :: GNU General Public License v3 (GPLv3)
3434 Operating System :: POSIX
3535 Programming Language :: Python
36- Programming Language :: Python :: 3.9
37- Programming Language :: Python :: 3.10
38- Programming Language :: Python :: 3.11
39- Programming Language :: Python :: 3.12
40- Programming Language :: Python :: 3.13
4136 Programming Language :: Python :: 3 :: Only
4237 Programming Language :: Python :: Implementation :: CPython
4338
4439[options]
4540packages = find_namespace:
46- python_requires = >=3.9
41+ python_requires = >=3.12
4742include_package_data = True
4843install_requires =
4944 # NB: We have cylc-flow at the top to force it to install its transitive
@@ -52,7 +47,6 @@ install_requires =
5247 # bleeding-edge version.
5348 cylc-flow ==8.6.*
5449 ansimarkup>=1.0.0
55- importlib-resources>=1.3.0; python_version < "3.9"
5650 jupyter_server>=2.13.0
5751 requests
5852 packaging
You can’t perform that action at this time.
0 commit comments