118 Commits

Author SHA1 Message Date
Ian Bell
f0b988236f build: replace git submodules with CPM.cmake (#2728)
* build: replace git submodules with CPM.cmake

All 11 submodules (Eigen, fmtlib, msgpack-c, rapidjson, IF97,
REFPROP-headers, multicomplex, Catch2, pybind11, ExcelAddinInstaller,
FindMathematica) are now fetched by CPM.cmake at configure time.

Set CPM_SOURCE_CACHE (e.g. ~/.cache/CPM) to share the download cache
across git worktrees and build directories — no more per-worktree
`git submodule update --init --recursive`.

Vendored deps that have no upstream release cycle (miniz, nlohmann-json,
incbin) remain in externals/ as before.

Source-level changes: angle-bracket includes for rapidjson, IF97, and
REFPROP-headers now that their directories are on the include path via
CPM-provided source dirs rather than relative paths from the repo root.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(python): wire up CPM.cmake in Python wrapper, fix include paths

The Python wrapper CMakeLists.txt was still referencing submodule paths
(externals/Eigen, externals/fmtlib, externals/msgpack-c) removed by the
CPM migration. Include CPM.cmake + dependencies.cmake from the root and
use the ${Pkg_SOURCE_DIR} variables instead.  Also adds missing
rapidjson, IF97, and REFPROP_headers include dirs required by CoolProp
sources.

CI workflows drop the now-meaningless `submodules: recursive` checkout
option and add a CPM source-cache step to avoid re-downloading on each
macOS/Windows runner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs: remove git submodule references after CPM.cmake migration

Dependencies are now managed by CPM.cmake (fetched automatically at
CMake configure time), so git submodules no longer exist.

- Drop `--recursive` from all `git clone` commands in Web docs and
  wrapper READMEs (26 .rst/.md files)
- Remove `submodules: recursive` from all CI workflow checkout steps
  (13 workflow files)
- Remove `git submodule foreach/update` calls from release.bsh and
  delete the now-dead pybind11 security-workaround lines
- Drop `--recursive` from build_swigged_matlab.sh and gitMirror.bsh
- Update CONTRIBUTING.md: drop "and its submodules" phrasing

Changelog entries referencing old submodule PRs are left intact as
historical records. The --recursive in buildbot.rst is for the
Dockerfiles repo (unrelated) and is also left unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(ci): remove empty 'with:' blocks after submodule removal, apply clang-format

After removing 'submodules: recursive' from checkout steps, some workflow
files were left with dangling empty 'with:' blocks that GitHub Actions
rejects as workflow file errors. Remove the empty 'with:' in 9 workflows.

Also apply clang-format to fix spacing in REFPROPMixtureBackend.cpp,
HumidAirProp.cpp, and Helmholtz.cpp.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:45:10 -04:00
Ian Bell
61351d449c docs: add predefined mixtures table to Mixtures page (#2719)
* docs: add predefined mixtures table to Mixtures documentation

Adds a new section "Predefined mixtures" to Web/fluid_properties/Mixtures.rst
listing all 154 predefined mixtures with their components and mole fractions.
Each mixture is tested at build time; those that fail (missing binary interaction
parameters or not present in the compiled library) are flagged in a Notes column.

Also updates the code examples in the new section to use the required .mix suffix,
and registers the generation script in the doc build task list.

Closes #2711

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs: improve predefined mixtures table error messages and auto-count

- Replace CAS numbers with fluid names in binary interaction parameter errors
- Detect and report missing pure fluids by name
- Distinguish 'not registered as predefined mixture' from missing BIP
- Write PredefinedMixturesCount.rst so the mixture count in Mixtures.rst
  is generated automatically rather than hardcoded

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 20:12:33 -04:00
Ian Bell
bd8d5712c0 better test pypi cleanup info 2025-11-01 17:48:16 -04:00
Ian Bell
e461c34e79 Update release notes 2025-05-20 07:58:27 -04:00
Ian Bell
dbf8edde68 Update release.rst [skip ci]
Fix RST in release
2025-04-21 18:10:22 -04:00
Ian Bell
deb54c342f Little tweak to RST [skip ci] 2025-04-21 10:50:05 -04:00
Ian Bell
544bebd518 Small updates to RST files 2025-04-21 10:24:01 -04:00
Ian Bell
e42eb0c9b2 Fix clean message [skip ci] 2025-04-11 07:47:34 -04:00
Ian Bell
2841dc3216 Note about removing artifacts [skipci] 2025-04-10 22:07:02 -04:00
Jorrit Wronski
ba21c74fd1 Updated the release description and include the cache handling for GitHub actions 2023-11-29 13:50:35 +01:00
Jorrit Wronski
f00c36a9ce Support act to run local debugging sessions of the github actions 2023-08-08 14:34:00 +02:00
Jorrit Wronski
a88d1669df Added a comment in the release docs about the expensive builds, manually set the timeout for the documentation build to 2 hours as 1 hour seems to be the default. 2023-08-07 14:14:56 +02:00
Jorrit Wronski
85b5605281 Updated the description of the release actions 2022-12-16 12:05:38 +01:00
Jorrit Wronski
8d3aec55c4 Prepare for v6.4.3 2022-12-16 11:35:35 +01:00
Jorrit Wronski
9faf4ae9bb Prepare for v6.4.2 2022-12-13 14:03:39 +01:00
Jorrit Wronski
e6bce1e0a5 temporarily added description for Python 2.7 2020-05-05 11:49:34 +02:00
Jorrit Wronski
37a38ac620 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	dev/buildbot/master/master.cfg
2020-05-05 10:23:20 +02:00
Jorrit Wronski
564a5888b4 Preparing for the new build machine 2020-05-05 10:21:02 +02:00
ian
74426135cc Update buildbot slave docs 2020-04-30 17:51:40 -04:00
Jorrit Wronski
057941be07 Learnings from releasing v6.3.0 2019-05-19 23:15:32 +02:00
Jorrit Wronski
ba41b14340 Just a typo 2019-05-18 19:45:43 +02:00
Jorrit Wronski
48238492d7 Formated docs 2019-05-18 19:19:41 +02:00
Jorrit Wronski
c4ed4ec574 Formated docs 2019-05-18 19:17:29 +02:00
Jorrit Wronski
72c22a6454 Ready for v6.3.0? 2019-05-18 09:46:35 +02:00
Jorrit Wronski
ed95d7cbdf Updated docs and release script 2019-05-17 23:48:58 +02:00
Jorrit Wronski
30eeb120b3 First working version of the update release docs and scripts 2019-05-17 22:49:14 +02:00
Ian Bell
57192d7aa5 RST tidy 2019-01-12 10:32:36 -07:00
Jeff Henning
620cbf29d5 Add IF97 links to CoolProp homepage and backends page (#1767) 2018-12-13 22:02:12 -05:00
luzpaz
93f4a986e2 Misc. typos (#1726)
Found via `codespell -i 3 -w -I ../coolprop-word-whitelist.txt` whereby whitelist consists of:
```
cas
formate
hel
nd
te
tim
ue
uint
```
2018-08-14 23:06:49 -06:00
Jorrit Wronski
f316483f4d Ported the changes from #1723 to master 2018-08-13 21:28:08 +02:00
Jorrit Wronski
a23824abd5 getting ready for Python3.7, related to #1604, #1654 and #1309. Please refer to https://github.com/CoolProp/Dockerfiles for details 2018-08-09 12:04:29 +02:00
Jorrit Wronski
87932a51b6 This fixes the 64bit builds on Linux, but does not help with 32 bit since the libraries are missing on the buildbot worker (and cannot be installed) 2017-12-20 09:19:40 +01:00
Jorrit Wronski
bff23f8123 Added some more buildbot documentation 2017-12-18 22:54:06 +01:00
Matthis Thorade
526cb198a4 autopep8 whitespace (#1613)
* autopep8 whitespace only:

--select="E101,W1,W2"

* revert single file: web2py_online.py

Should this be a .py file at all?

* revert file Tickets/1443.py because the diff looked strange:

maybe there is an encoding problem?

* Rename web2py_online.py to web2py_online.rst
2017-12-12 08:32:38 -07:00
Jeff Henning
1837540aca Documentation Update (#1589)
* Add misc ignores so dynamic doc content can be built in repository

* Update to documentation Makefile for clean html build on Windows

* Updates to instructions for doc builds on Windows with Anaconda

* Added documentation page for IF97

* Fix errors on documentation page for Fluid_Properties/Mixtures

* Updated HighLevelAPI docs for clarity, IF97 ref, Python 3 support, and typos

* Modify print command to support build on Python 2 or 3

* Update to documentation to compile the Python wrapper with VC++
2017-11-14 04:49:01 -05:00
Jorrit Wronski
56d7f78042 Added a new OSX builder, updated commands to handle new buildbot versions, still some work in progress 2017-10-30 09:14:15 +01:00
Jorrit Wronski
44172d1df0 Coverity scan (#1479)
Added a basic Travis integration and added configuration details for coverity scans. Travis could be refined though.
2017-04-21 16:47:20 +02:00
Jorrit Wronski
6d9b3c0292 Added Python 3.6 for #1429 2017-03-10 18:03:06 +01:00
Ian Bell
c938bb378f CoolProp online is back up!
Added docs to help ensure this doesn't happen again...
2016-09-20 20:15:16 -06:00
Jorrit Wronski
972d5824e8 Added docs for working with the master.cfg to the website, see #1052 2016-05-27 11:19:23 +02:00
Jorrit Wronski
2bd2b95917 I am constantly running out of disk space on the Windows machine. 2016-03-30 10:36:01 +02:00
Jorrit Wronski
0815e1a106 Added the Python 3.5 docs for #1002 2016-03-23 14:19:53 +01:00
Jorrit Wronski
572bc6ddb7 Just a minor fix of the docker docs 2016-02-18 23:53:59 +01:00
Jorrit Wronski
95edfba713 Fixed the docker docs 2016-02-17 10:31:02 +01:00
Ian Bell
8cd2c98d06 Small fixes to fix errors in sphinx 2016-01-09 14:05:28 -07:00
Ian Bell
584720fbab Add some docs for use of coverity; move asan info 2015-12-11 21:21:26 -07:00
Jorrit Wronski
fa632fd1d2 Changed the docker docs and move all Python builds to docker containers 2015-11-06 16:33:30 +01:00
Jorrit Wronski
59e3624a52 Added more docs and modified the base image 2015-10-11 22:30:52 +02:00
Jorrit Wronski
cb952a03fb Added web builder 2015-10-11 16:12:59 +02:00
Jorrit Wronski
c6832ea193 Added some more documentation and move the entrypoint 2015-10-11 14:06:10 +02:00