Skip to content

Commit 65f15b9

Browse files
committed
1.3.0 attemped direct release to pypi
1 parent ed589d7 commit 65f15b9

File tree

4 files changed

+43
-9
lines changed

4 files changed

+43
-9
lines changed
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish to TestPyPI
1+
name: Publish to PyPI
22
on:
33
release:
44
types: [published]
@@ -11,7 +11,7 @@ jobs:
1111
uses: ./.github/workflows/quality.yml
1212

1313
publish:
14-
# This job publishes to TestPyPI when a GitHub release is created with a tag starting with 'v' on the release branch.
14+
# This job publishes to PyPI when a GitHub release is created with a tag starting with 'v' on the release branch.
1515
#
1616
# Requirements:
1717
# - Repository admin must create a release with a tag starting with 'v' (e.g., v1.2.3)
@@ -21,7 +21,7 @@ jobs:
2121
# Security notes:
2222
# - The tag and branch checks in this job are soft checks (can be bypassed by modifying workflow)
2323
# - Real security enforcement comes from the 'pypi' environment which requires manual approval by org admin
24-
# - This provides a final gate before any code is published to TestPyPI
24+
# - This provides a final gate before any code is published to PyPI
2525
needs: test
2626
runs-on: ubuntu-latest
2727
if: startsWith(github.ref, 'refs/tags/v')
@@ -48,6 +48,4 @@ jobs:
4848
path: dist/
4949

5050
- name: Upload to PyPI
51-
uses: pypa/gh-action-pypi-publish@release/v1
52-
with:
53-
repository-url: https://test.pypi.org/legacy/
51+
uses: pypa/gh-action-pypi-publish@release/v1

changelog.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,42 @@
22

33
## [Unreleased]
44

5+
## [1.3.0] - 2025-10-25
6+
7+
### Added
8+
9+
- Project is now PEP 517 compliant and doesn't use deprecated setup.py commands anymore
10+
- GitHub Actions workflow for publishing to PyPI using environment protection
11+
- `uv` package manager integration across CI workflows for faster dependency resolution
12+
- New consolidated `quality.yml` workflow for linting and testing
13+
- New `build_third_party_packagers.yml` workflow consolidating cx_Freeze, PyInstaller, Nuitka, and py2exe testing
14+
- Pre-commit hooks configuration
15+
- Justfile with extensive development automation commands - github actions have been refactored use this where possible, making them locally debuggable
16+
17+
### Changed
18+
19+
- **Breaking**: Dropped Python 3.8 support; minimum Python version is now 3.9
20+
- Migrated from setup.py to pyproject.toml-only configuration (PEP 517)
21+
- Consolidated multiarch CI workflows with reduced test matrix for improved performance
22+
- Simplified third-party packager testing into single consolidated workflow
23+
- Moved coverage configuration from .coveragerc to pyproject.toml
24+
- Moved pytest configuration from pytest.ini to pyproject.toml
25+
- Moved mypy configuration from mypy.ini to pyproject.toml
26+
- Moved Ruff configuration from .ruff.toml to pyproject.toml
27+
- Reorganized development requirements into pyproject.toml optional dependencies
28+
29+
### Removed
30+
31+
- Removed setup.py (replaced by pyproject.toml)
32+
- Removed standalone configuration files: .coveragerc, pytest.ini, mypy.ini, .ruff.toml
33+
- Removed separate workflow files: build_cxfreeze_library.yml, build_nuitka_library.yml, build_py2exe_library.yml, build_pyinstaller_library.yml
34+
- Removed pre-commit.yml and security.yml workflows (consolidated into quality.yml)
35+
- Removed separate requirements files (test, docs, multiarch) - now in pyproject.toml
36+
37+
### Security
38+
39+
- Implemented PyPI publishing workflow with manual approval gate
40+
541
## [1.2.0] - 2025-10-19
642

743
### Added

fluids/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def all_submodules(with_numerics=True):
168168
return new_submodules
169169

170170

171-
__version__ = "1.2.10"
171+
__version__ = "1.3.0"
172172

173173
try:
174174
fluids_dir = os.path.dirname(__file__)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ backend-path = ["_custom_build"]
55

66
[project]
77
name = "fluids"
8-
version = "1.2.10"
8+
version = "1.3.0"
99
description = "Fluid dynamics component of Chemical Engineering Design Library (ChEDL)"
1010
readme = "README.rst"
1111
requires-python = ">=3.9"
@@ -132,7 +132,7 @@ dev = [
132132

133133
[project.urls]
134134
Homepage = "https://github.com/CalebBell/fluids"
135-
Download = "https://github.com/CalebBell/fluids/tarball/1.2.10"
135+
Download = "https://github.com/CalebBell/fluids/tarball/1.3.0"
136136

137137
[tool.setuptools]
138138
packages = ["fluids"]

0 commit comments

Comments
 (0)