Skip to content

Commit

Permalink
General maintenance (#24)
Browse files Browse the repository at this point in the history
* sets upper limit of tensorflow to avoid problems with the LSTM models (fixes #23)

* adds support for python 3.11 and 3.12

* updates Github Actions

* removes macos and windows support until better tensorflow implementations are available

* updates package version
  • Loading branch information
Trybnetic authored Aug 26, 2024
1 parent 32f8f95 commit f8725b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ jobs:
os: [
ubuntu-latest,
#windows-latest,
macOS-latest
#macOS-latest
]
python-version: ['3.9', '3.10']
python-version: ['3.9', '3.10', '3.11', '3.12']
poetry-version: [1.7.1]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -51,7 +51,7 @@ jobs:
run: poetry config virtualenvs.in-project true

- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v4
id: cache
with:
path: .venv
Expand All @@ -64,7 +64,7 @@ jobs:
run: poetry run pytest --cov=paat --cov-report=xml --disable-pytest-warnings

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "paat"
version = "1.0.0b3"
version = "1.0.0b4"
description = "A comprehensive toolbox to analyse and model raw physical activity data"

license = "MIT"
Expand All @@ -27,15 +27,15 @@ classifiers = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.11" # Compatible python versions must be declared here
python = ">=3.9,<3.12" # Compatible python versions must be declared here
pandas = "^1.5.3"
psutil = "^5.8.0"
glob2 = "^0.7"
resampy = "^0.2.2"
joblib = "^1.0.1"
numpy = "1.23.5"
bitstring = "^3.1.7"
tensorflow = "^2.11.0"
tensorflow = ">=2.11.0,<2.16"
torch = "^1.10.1"
agcounts = "^0.1.1"
toml = "^0.10.2"
Expand Down

0 comments on commit f8725b5

Please sign in to comment.