Commit Graph

15 Commits

Author SHA1 Message Date
Ian Bell
e19b08bee0 Update extract_version.py to use .version file instead of setup.py
With the migration to scikit-build-core, version information is now stored
in the .version file and read by pyproject.toml. Updated the script to:

- Rename replace_setup_py() to replace_version_file()
- Update .version file instead of modifying setup.py
- Change --replace-setup-py flag to --replace-version

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:42:37 -04:00
Ian Bell
52f6966607 Cleanup message [skip ci] 2025-05-23 08:43:01 -04:00
Ian Bell
f4bf6b5ade Force --version to be provided and non-empty 2025-05-23 08:18:43 -04:00
Ian Bell
a1182474d4 And the missing fixed script 2025-05-22 21:03:07 -04:00
Ian Bell
91c9880375 Let's try chronologic versioning for testpypi 2025-05-22 20:05:30 -04:00
Ian Bell
a8cce71042 post always wins
So set the modifier to post to ensure that 6.7.1.post1 would get selected before 6.7.0 (which is a standard release)
2025-02-25 21:23:51 -05:00
Ian Bell
63238f4e96 Make them all be dev 2025-02-25 21:20:04 -05:00
Ian Bell
d5117a3b87 According to python sorting rules on testpypi, post wins 2025-02-25 21:15:57 -05:00
Ian Bell
c8784ddee8 I think I fixed the testpypi version numbers
But we shall see
See #2472
2025-02-25 20:52:00 -05:00
Jorrit Wronski
a885a2b4e0 One more typo 2022-12-13 14:12:01 +01:00
Jorrit Wronski
d0e2778734 Update the version extraction to handle builds without revision 2022-12-13 14:10:36 +01:00
Julien Marrec
8aa50fc270 Fix mac sed (#2116)
* Minimum fix for sed: mac has a weird sed version...

* Make repalcement from python to avoid dealing with weird sed version on mac

* Try to get the size of the wheels (/!\ 100MB max per upload)

* move setting env vars up a block
2022-04-11 12:35:06 -04:00
Julien Marrec
a7a3c844e2 I think I know why mac is failing, it's because of the newline char (#2110) 2022-04-01 07:38:29 -04:00
Julien Marrec
76b48b35f2 Configure upload to pypi/testpypi (#2109)
* Enable upload to testpypi

* Figure out the next available version to avoid override (especially for testpypi, shouldn't happen for pypi as we should bump in CMakeLists)
2022-03-31 18:53:39 -04:00
Julien Marrec
3b8ed97fbc Github Actions: add shared library and doxygen workflows. (#2098)
* First try at building shared library

* Rename artifact for clarity instead of putting them all in the same

* Add a doxygen worklow

* Extract version from CMakeLists to name the artifacts

* move the extract version bit to a script in dev/ so I can reuse for documentation too

* Disable fail-fast, and don't use fstrings in extract_version.py (mac has a too old python by default, and I don't want to call setuppython actions)

* Mac still picks up a too old python, whatever: just setup any 3.x (it's cached, so quick)

* First try for a Windows Installer package

* forgot to create the build dir

* forgot build type

* Try to re-enable catch2 tests

* adjust

* Leave the coolprop catch2 tests in a separate workflow, since many are currently failing
2022-03-31 10:16:34 -04:00