Skip to content

Commit

Permalink
Lift Python version upper limit
Browse files Browse the repository at this point in the history
Cleaned up dependencies since Dagster is now gone.

Moved doc and dev requirements to pyproject.toml

Also, removed some auto-generated files in docs/source/autoapi
that were accidentally committed to the repo.

Re spine-tools/Spine-Toolbox#2522
  • Loading branch information
soininen committed May 16, 2024
1 parent c0b583e commit 4575140
Show file tree
Hide file tree
Showing 42 changed files with 32 additions and 3,850 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-22.04]
python-version: [3.8, 3.9, "3.10", 3.11]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -27,6 +27,8 @@ jobs:
cache: pip
cache-dependency-path: |
pyproject.toml
requirements.txt
dev-requirements.txt
- name: Display Python version
run:
python -c "import sys; print(sys.version)"
Expand All @@ -39,8 +41,8 @@ jobs:
PYTHONUTF8: 1
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/spine-tools/Spine-Database-API.git#egg=spinedb_api
pip install .[dev]
pip install -r requirements.txt
pip install -r dev-requirements.txt
- name: List packages
run:
pip list
Expand Down
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.idea
__pycache__
build
dist
spine_engine.egg-info
build/
dist/
spine_engine.egg-info/
.coverage
htmlcov/
spine_engine/server/certs
spine_engine/server/certs/
spine_engine/server/received_projects
spine_engine/version.py
tests/server/test_project
tests/server/util/output
tests/server/test_project/
tests/server/util/output/
docs/source/autoapi/
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ To install Spine Engine into an existing Python environment, run

$ pip install spine_engine

### Dependencies

Spine Engine installation will install [dagster](https://dagster.readthedocs.io/en/master/index.html).

 
<hr>
<center>
<table width=500px frame="none">
Expand Down
12 changes: 8 additions & 4 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
black == 24.4.2
pre-commit == 2.0.1
pylint >= 2.3.0
-r "docs/requirements.txt"
ipykernel
coverage[toml]
sphinx
recommonmark
sphinx_rtd_theme
sphinx-autoapi
pylint
black == 21.12b
6 changes: 0 additions & 6 deletions docs/requirements.txt

This file was deleted.

11 changes: 0 additions & 11 deletions docs/source/autoapi/index.rst

This file was deleted.

105 changes: 0 additions & 105 deletions docs/source/autoapi/spine_engine/config/index.rst

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4575140

Please sign in to comment.