From a44ff965de694f6b68f925c2a0e6c66904807830 Mon Sep 17 00:00:00 2001 From: Tom Schierenbeck Date: Fri, 3 Nov 2023 11:16:27 +0100 Subject: [PATCH] Updated workflows and requirements. --- .github/workflows/publish-to-test-pypi.yml | 24 ---------------------- pyproject.toml | 2 +- src/random_events/__init__.py | 2 +- 3 files changed, 2 insertions(+), 26 deletions(-) diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index f05ad2e..f74e567 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -49,27 +49,3 @@ jobs: path: dist/ - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - - publish-to-testpypi: - name: Publish Python 🐍 distribution 📦 to TestPyPI - needs: - - build - runs-on: ubuntu-latest - - environment: - name: testpypi - url: https://test.pypi.org/p/random_events - - permissions: - id-token: write # IMPORTANT: mandatory for trusted publishing - - steps: - - name: Download all the dists - uses: actions/download-artifact@v3 - with: - name: python-package-distributions - path: dist/ - - name: Publish distribution 📦 to TestPyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://test.pypi.org/legacy/ \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 955c9a9..c9176b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ classifiers = [ ] keywords=["random events", "probabilistic machine learning", "probability theory", "variables", "reasoning under uncertainty"] -dynamic = ["version"] +dynamic = ["version", "dependencies"] [project.urls] "Source" = 'https://github.com/tomsch420/random-events' diff --git a/src/random_events/__init__.py b/src/random_events/__init__.py index b3ddbc4..7b344ec 100644 --- a/src/random_events/__init__.py +++ b/src/random_events/__init__.py @@ -1 +1 @@ -__version__ = '1.1.1' +__version__ = '1.1.2'