diff --git a/.github/workflows/publish-testpypi.yml b/.github/workflows/publish-testpypi.yml index 41c2731b..57a6c83b 100644 --- a/.github/workflows/publish-testpypi.yml +++ b/.github/workflows/publish-testpypi.yml @@ -1,31 +1,29 @@ name: Publish to TestPyPI - on: push: tags: - 'v*' - permissions: id-token: write contents: read - jobs: test: uses: ./.github/workflows/quality.yml - + publish: needs: test runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') - - steps: + environment: + name: pypi + steps: - name: Download distributions uses: actions/download-artifact@v4 with: name: distributions path: dist/ - - - name: Upload to TestPyPI + + - name: Upload to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - repository-url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ \ No newline at end of file diff --git a/fluids/__init__.py b/fluids/__init__.py index 65056a4a..58e55ce5 100644 --- a/fluids/__init__.py +++ b/fluids/__init__.py @@ -168,7 +168,7 @@ def all_submodules(with_numerics=True): return new_submodules -__version__ = "1.2.6" +__version__ = "1.2.9" try: fluids_dir = os.path.dirname(__file__) diff --git a/pyproject.toml b/pyproject.toml index a827476c..6a9d4734 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ backend-path = ["_custom_build"] [project] name = "fluids" -version = "1.2.6" +version = "1.2.9" description = "Fluid dynamics component of Chemical Engineering Design Library (ChEDL)" readme = "README.rst" requires-python = ">=3.9" @@ -132,7 +132,7 @@ dev = [ [project.urls] Homepage = "https://github.com/CalebBell/fluids" -Download = "https://github.com/CalebBell/fluids/tarball/1.2.6" +Download = "https://github.com/CalebBell/fluids/tarball/1.2.9" [tool.setuptools] packages = ["fluids"] @@ -289,7 +289,7 @@ extend-ignore = [ "RET", "RSE102", "RUF001", - "RUF003", # greek characters are used in this project e.g. for allotropes, not an issue + "RUF003", # greek characters are used in this project e.g. for allotropes "RUF005", # this one is not micropython compatible # "S101", # Use assert - removed from global ignore, now controlled by per-file-ignores below "S110",