From 5d6cd39fdf7d527105f435d9f1031e2489fdab27 Mon Sep 17 00:00:00 2001 From: "Konstantin (Tino) Sering" Date: Mon, 8 Apr 2024 17:34:59 +0200 Subject: [PATCH] fixes #249; removes an upper boundary for the python version and makes all dependancies open to new versions --- .github/workflows/python-test.yml | 2 +- pyproject.toml | 45 ++++++++++++++++--------------- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 1f5c501..c4cb91e 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - python-version: ['3.8', '3.11'] + python-version: ['3.8', '3.12'] poetry-version: [1.1.13] fail-fast: false runs-on: ${{ matrix.os }} diff --git a/pyproject.toml b/pyproject.toml index 5e3acb6..b863aa3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyndl" -version = "1.2.2" +version = "1.2.3" description = "Naive discriminative learning implements learning and classification models based on the Rescorla-Wagner equations." license = "MIT" @@ -28,29 +28,30 @@ classifiers = ['Development Status :: 5 - Production/Stable', 'Topic :: Scientific/Engineering :: Information Analysis',] [tool.poetry.dependencies] -python = ">=3.8,<3.12" # Compatible python versions must be declared here -numpy = "^1.23.1" -scipy = "^1.9.0" -pandas = "^1.4.3" -xarray = "^2022.6.0" -netCDF4 = "^1.6.0" -Cython = "^3.0.0" +python = ">=3.8" # Compatible python versions must be declared here +numpy = ">=1.23.1" +scipy = ">=1.9.0" +pandas = ">=1.4.3" +xarray = ">=2022.6.0" +netCDF4 = ">=1.6.0" +Cython = ">=3.0.0" +toml = ">=0.10.2" [tool.poetry.dev-dependencies] -pytest = "^7.0" -pytest-cov = "^2.4" -pydocstyle = "^6.1.1" -flake8 = "^4.0.1" -sphinx = "^1.4" -sphinx_rtd_theme = "^1.0.0" -notebook = "^6.4.10" -seaborn = "^0.12.1" -numpydoc = "^1.2" -sphinx-copybutton = "^0.5.1" -pylint = "^2.0.0" -nbsphinx = "^0.8.8" -vulture = "^2.3" -Jinja2 = "<3.1.0" +pytest = ">=7.0" +pytest-cov = ">=2.4" +pydocstyle = ">=6.1.1" +flake8 = ">=4.0.1" +sphinx = ">=1.4" +sphinx_rtd_theme = ">=1.0.0" +notebook = ">=6.4.10" +seaborn = ">=0.12.1" +numpydoc = ">=1.2" +sphinx-copybutton = ">=0.5.1" +pylint = ">=2.0.0" +nbsphinx = ">=0.8.8" +vulture = ">=2.3" +Jinja2 = ">=3.1.0" [tool.pytest.ini_options] addopts = '--doctest-glob "*.rst"'