diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index be91278..105356c 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -11,11 +11,10 @@ jobs: run: shell: bash -l {0} steps: - - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 + - uses: actions/checkout@v4 + - uses: conda-incubator/setup-miniconda@v3 with: - miniconda-version: "latest" - mamba-version: "*" + miniforge-version: latest channel-priority: true environment-file: environment.yml auto-activate-base: false diff --git a/echo/VERSION b/echo/VERSION index 9459d4b..5625e59 100644 --- a/echo/VERSION +++ b/echo/VERSION @@ -1 +1 @@ -1.1 +1.2 diff --git a/environment.yml b/environment.yml index d95c43c..2071995 100644 --- a/environment.yml +++ b/environment.yml @@ -3,12 +3,12 @@ channels: - conda-forge - pytorch dependencies: - - python=3.10 + - python=3.12 - sphinx - pytest - setuptools - - optuna - - numpy<1.23.0 + - optuna<4.0 + - numpy - scipy - matplotlib - scikit-learn diff --git a/requirements.txt b/requirements.txt index 46f508c..0781894 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,9 +2,9 @@ numpy scipy matplotlib pandas -optuna +optuna<4.0 setuptools pyyaml scikit-learn xgboost -pyarrow \ No newline at end of file +pyarrow diff --git a/setup.cfg b/setup.cfg index 69c2202..3b80aa6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,6 +16,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 url = https://github.com/NCAR/echo-opt @@ -26,12 +27,12 @@ packages = echo.src include_package_data = True setup_requires = setuptools -python_requires = >=3.7 +python_requires = >3.7 install_requires = - numpy<2 + numpy scipy matplotlib - optuna + optuna<4.0 setuptools pandas scikit-learn