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

Add python 3.13.0-rc.1 to CI in prep for real 3.13 release #3600

Closed
wants to merge 8 commits into from
Closed
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
main-test-suite:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1"]
runs-on: ubuntu-20.04
timeout-minutes: 60

Expand Down
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export PATH := $(CCTOOLS_INSTALL)/bin/:$(PATH)
export CCTOOLS_VERSION=7.8.0
export HYDRA_LAUNCHER=fork
export OMPI_MCA_rmaps_base_oversubscribe=yes
export RADICAL_UTILS_NO_ATFORK=whatever
MPI=$(MPICH)

.PHONY: help
Expand Down Expand Up @@ -62,7 +63,7 @@ htex_local_test: ## run all tests with htex_local config

.PHONY: htex_local_alternate_test
htex_local_alternate_test: ## run all tests with htex_local config
pip3 install ".[monitoring]"
pip3 install "."
pytest parsl/tests/ -k "not cleannet" --config parsl/tests/configs/htex_local_alternate.py --random-order --durations 10

$(CCTOOLS_INSTALL): #CCtools contains both taskvine and workqueue so install only once
Expand All @@ -84,7 +85,7 @@ radical_local_test:

.PHONY: config_local_test
config_local_test: $(CCTOOLS_INSTALL)
pip3 install ".[monitoring,visualization,proxystore]"
pip3 install ".[proxystore]"
PYTHONPATH=/tmp/cctools/lib/python3.8/site-packages pytest parsl/tests/ -k "not cleannet" --config local --random-order --durations 10

.PHONY: site_test
Expand All @@ -97,7 +98,7 @@ perf_test:
parsl-perf --time 5 --config parsl/tests/configs/local_threads.py

.PHONY: test ## run all tests with all config types
test: clean_coverage isort lint flake8 mypy local_thread_test htex_local_test htex_local_alternate_test wqex_local_test vineex_local_test radical_local_test config_local_test perf_test ## run all tests
test: clean_coverage isort lint flake8 mypy local_thread_test htex_local_test wqex_local_test vineex_local_test radical_local_test config_local_test perf_test ## run all tests

.PHONY: tag
tag: ## create a tag in git. to run, do a 'make VERSION="version string" tag
Expand Down
8 changes: 7 additions & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[mypy]
plugins = sqlalchemy.ext.mypy.plugin
# for greenlet
# plugins = sqlalchemy.ext.mypy.plugin

enable_error_code = ignore-without-code
no_implicit_reexport = True
Expand Down Expand Up @@ -81,6 +82,7 @@ disallow_any_expr = True
disallow_untyped_defs = True

[mypy-parsl.monitoring.*]
disable_error_code = misc, valid-type, unused-ignore, attr-defined
disallow_untyped_decorators = True
check_untyped_defs = True
disallow_subclassing_any = True
Expand Down Expand Up @@ -206,3 +208,7 @@ ignore_missing_imports = True

[mypy-proxystore.*]
ignore_missing_imports = True

# for ignoring monitoring in CI due to no greenlet on python 3.13
[mypy-sqlalchemy.*]
ignore_missing_imports = True
3 changes: 0 additions & 3 deletions parsl/tests/configs/htex_local_alternate.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,3 @@ def fresh_config():
),
usage_tracking=True
)


config = fresh_config()
Empty file.
86 changes: 0 additions & 86 deletions parsl/tests/test_monitoring/test_app_names.py

This file was deleted.

121 changes: 0 additions & 121 deletions parsl/tests/test_monitoring/test_basic.py

This file was deleted.

88 changes: 0 additions & 88 deletions parsl/tests/test_monitoring/test_db_locks.py

This file was deleted.

Loading
Loading