diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index be5fbb0..2ba2f84 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -13,7 +13,7 @@ RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/l COPY requirements.txt /tmp/pip-tmp/ RUN conda install mamba -n base -c conda-forge # install package dependencies -RUN conda install -r /tmp/pip-tmp/requirements.txt -c conda-forge && rm -rf /tmp/py-tmp +RUN conda install --file /tmp/pip-tmp/requirements.txt -c conda-forge && rm -rf /tmp/py-tmp #RUN conda install --file /tmp/pip-tmp/requirements.txt -c conda-forge && rm -rf /tmp/py-tmp # install dev dependencies RUN mamba install pytest pytest-cov tox mock commitizen pre-commit pip-tools jupyter -c conda-forge diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4413208..4d942d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 @@ -34,14 +34,14 @@ jobs: - name: Test with tox run: | tox -- --cov-report=xml - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODE_COV_TOKEN }} - name: build run: | tox -e build - name: Publish distribution 📦 to PyPI - if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index b0d8dce..deef9b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## v0.2.5 (2023-01-07) + +### Fix + +- update pypi in actions on new tag +- fixes #43 +- update to pymc5 + ## v0.2.4 (2022-06-06) ### Fix diff --git a/environment.yml b/environment.yml index 5eaa2f5..a2f66c1 100644 --- a/environment.yml +++ b/environment.yml @@ -5,3 +5,4 @@ dependencies: - statsmodels - matplotlib - pymc + - pytensor diff --git a/pyproject.toml b/pyproject.toml index e08d04b..d3a1d08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,5 +10,5 @@ version_scheme = "no-guess-dev" [tool.commitizen] name = "cz_conventional_commits" -version = "0.2.4" +version = "0.2.5" tag_format = "v$version" diff --git a/requirements.in b/requirements.in index 0bcb0bf..1744109 100644 --- a/requirements.in +++ b/requirements.in @@ -3,3 +3,4 @@ numpy statsmodels matplotlib pymc +pytensor diff --git a/requirements.txt b/requirements.txt index f00ca14..e95c226 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # pip-compile @@ -89,7 +89,9 @@ pymc==5.0.1 pyparsing==3.0.9 # via matplotlib pytensor==2.8.11 - # via pymc + # via + # -r requirements.in + # pymc python-dateutil==2.8.2 # via # matplotlib diff --git a/setup.cfg b/setup.cfg index 8606be6..55fb3f4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,6 +31,7 @@ install_requires = statsmodels matplotlib pymc + pytensor importlib-metadata; python_version<"3.8" [options.packages.find]