Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/publish-testpypi.yml
Original file line number Diff line number Diff line change
@@ -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/
2 changes: 1 addition & 1 deletion fluids/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"]
Expand Down Expand Up @@ -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",
Expand Down
Loading