5468 Commits

Author SHA1 Message Date
Ian Bell
42e4efff71 Update javascript_builder.yml 2025-02-22 14:26:30 -05:00
Ian Bell
7e6d477198 Bump catch2 to v3.8.0
Should remove the build failures in Catch tests on actions
2025-02-22 10:42:44 -05:00
Ian Bell
4e097e7176 Fix catch tests in more modern cmake 2025-02-22 10:21:05 -05:00
Ian Bell
43d6671a86 Migrate to new cmake python finding 2025-02-22 10:10:21 -05:00
Ian Bell
44db749ffb Enable for windows, no cross for linux (#2474)
Hopefully the new arm64 image on actions will work, and yield reasonable build times
2025-02-22 08:23:09 -05:00
Ian Bell
21481c198e Drop 3.8 wheels (end-of-life) 2025-02-22 08:16:20 -05:00
Ian Bell
bc49b67e8e Bump revision 2025-02-22 08:00:56 -05:00
Jeff Henning
f3fa94d284 Minor edit to Mathcad libs README 2025-02-22 06:03:15 -04:00
Ian Bell
e84ec7a8ab Update changelog to prepare for v6.7.0 v6.7.0 2025-02-20 19:20:35 -05:00
Jeff Henning
53ea6a637a Clean Up Mathcad Workflow [skip ci]
Adjust name of Mathcad artifact for clean distribution folder on Source Forge.
2025-02-20 06:02:16 -05:00
Jeff Henning
caf723b904 Clean Up Release Workflow [skip ci]
Update release_all_files.yml to remove commented Mathcad workaround attempts.  Mathcad is working again.
2025-02-20 05:59:58 -05:00
Jeff Henning
91ab3db7db Put Mathcad Wrapper Workflow Back in Nightly Build
Update release_all_files.yml
2025-02-18 22:02:30 -05:00
Jeff Henning
276ac4ae01 Get Mathcad Workflow Running Again (#2471)
* Add PTC Libs and Terms of Use to wrappers/Mathcad

* Convert Mathcad README files from RST to MD

* Run Mathcad workflow with local Repo Files

* Allow Mathcad workflow to be called by other workflows
2025-02-18 21:59:43 -05:00
Andrej Dolenc
5775dac12a Support plotting in C++ (#2463)
* Initial rewrite to c++

* Minor cleanup

* Add simple unit test for ph plot

* Add tests for Ts plot

* Use coolprop's lin and logspace functions to generate ranges

* Remove copied file header comments

* Remove code for handling unit conversions

* Replace Optional return from value_at with Nan

* Rename generate_ranges to generate_values_in_range

* Clean up xy_switch code

* Remove redundand <memory> include

* Make namings more consistent

* Further cleanup

* Move implementation to .cpp file

* More renamings

* Finish moving implementation over to .cpp

* Move generate_values out of Details namespace

* Make get_axis_limits const-able

* Constify most of the methods

* Add _ for member variables

* Make isoline methods consts too

* Make tp limits parameter an enum instead

* Try to match the code style with rest of repo

* Move not needed code from .h to .cpp

* Match code style with curly braces on same line

* Update variable names in tests so they make more sense

* Clean up the public api for PropertyPlot

* Add docstrings to public interface in CoolPropPlot
2025-02-17 13:38:54 -05:00
Jeff Henning
4de9fc620e Update release_all_files.yml
Remove dependency on temporarily disabled prepare_mathcad
2025-02-13 21:44:49 -07:00
Jeff Henning
67fe92cf79 Update Clang workflow to use latest artifacts
Updated dev_clang workflow to use action/upload-artifact@v4 since v3 is deprecated.
2025-02-13 11:08:05 -05:00
Jeff Henning
4bc386d499 Update Documentation Build to latest pages actions
Update pages actions (action/upload-pages-artifact@v3 & action/deploy-pages@v4) to support action/upload-artifact@v4 (since v3 is now deprecated)
2025-02-13 10:55:39 -05:00
Jeff Henning
4081fbad3f Update workflow to use dawide6/ v8
Attempt to fix workflow by updating Download-workflow-artifacts to use latest version of dawidd6/action-download-artifactv8. This update to dawidd6 uses latest version of action/artifacts for compatibility with the rest of the Coolprop workflows.
2025-02-13 10:04:57 -05:00
Jeff Henning
9dc3ea5628 Comment Mathcad build from release_all_files.yml
Removing Mathcad build from the automatic releases/builds until we figure out how to get the secrets working or get a workaround from PTC.
2025-02-12 04:28:03 -05:00
Ian Bell
275581e1ab Move to a more sane option for managing boost archive expansion 2025-01-01 15:07:45 -05:00
Ian Bell
6d23854efe No string in pxd either 2024-12-30 15:27:56 -05:00
Ian Bell
1f428fd935 Try to fix the python 3.13 builds on windows
Remove the string in interface. It seems like the string here should be left untyped to allow auto conversion of strings
2024-12-30 15:21:58 -05:00
Ian Bell
ad67a717c3 Allow either arm64 or ARM64 2024-12-07 17:48:03 -05:00
Ian Bell
d3d2aa15d4 Uppercase the ARM 2024-12-07 17:46:27 -05:00
Ian Bell
ef62e6b7f4 Put the shared libraries in sensible places 2024-12-07 15:17:23 -05:00
Ian Bell
5b933157e5 Move the output binaries for arm into a named folder 2024-12-07 15:05:29 -05:00
Ian Bell
0a7c84b5bd Dump the headers as well
So you can more easily see the arch of the file
2024-12-07 14:33:38 -05:00
Ian Bell
26c4b6d6fc Bump Excel add-in installer
Added the arm64 dll
2024-12-07 14:33:09 -05:00
Ian Bell
a19e69662f Update msgpack-c and selectively add boost (#2450)
(like was done in teqp)
2024-12-07 13:06:49 -05:00
Ian Bell
991e3a0f89 Update library_shared.yml to enable arm64 on windows 2024-12-07 12:32:58 -05:00
Ian Bell
bdeb597179 Start to build arm64 shared libraries
Start the process
2024-12-05 21:51:07 -05:00
MasterGPT9821
233e275b27 Fix Plots of log-p-h diagrams (#2446)
When i tried to plot log(p)-h-diagrams there always had been an issue in the common.py file in line 481. By deleting the "Isoline, self" between the () of super in this line i could fix this an the plots were generated. So i made this pull request.
2024-12-04 14:14:26 -05:00
gitsdfawfevi
a988270be2 Fix np.NaN for numpy >=2 (#2439)
Co-authored-by: gitsdfawfevi <user@server.fake>
2024-11-15 09:44:41 -05:00
Niels Holswilder
fbb2d587bd Python 3.13 and replace distutils with setuptools PEP 632 – Deprecate distutils (#2436)
* Update setup.py replace distutils with setuptools

PEP 632 – Deprecate distutils module.

Edit line 4-6:
from distutils.version import LooseVersion
from distutils.sysconfig import get_config_var
from setuptools.command.build_ext import build_ext
To
from packaging.version import Version
from sysconfig import get_config_var
from setuptools.command.build_ext import build_ext

Edit line 291:
cython_version = Version (Cython.__version__)
To
cython_version = str(Version (Cython.__version__))

Edit line 353:
from distutils.errors import CompileError
To
from setuptools import CompileError

Edit line 394:
from Cython.Distutils.extension import Extension
To
from setuptools.extension import Extension

Delete line 396:
from Cython.Distutils import build_ext
This is now handled with line 6 and thus redundant
from setuptools.command.build_ext import build_ext

Edit line 3, 60, 61 62, 66, 77, 229, and 291
Replace all instances of LooseVersion with Version

* Update python_buildwheels.yml

* Update python_cibuildwheel.yml

* Update setup.py

* Update setup.py

* Update setup.py

* Update python_buildwheels.yml

Added module packaging to the list of dependencies.

* Update python_cibuildwheel.yml

Updated cibuildwheel version form 2.17.0 to latest edition 2.21.3 for python 3.13 support.

* Update python_buildwheels.yml

Deleted lines with python specific exclusions for Windows ARM64 as it already excluded generically.

* Update python_buildwheels.yml

Deleted lines with python specific exclusions for MacOS as these are no longer supported.
2024-11-07 20:45:25 -05:00
Zach Baird
ad9d70fb59 Use temperature dependent hard sphere diameter for ion term in ePC-SAFT (#2402) 2024-11-03 08:07:03 -05:00
Jeff Henning
d407fea67d Update release_all_files.yml - pass secrets to Mathcad builder [skip ci]
Try calling the Mathcad builder with inherited secrets from the main workflow (to pass the token to the private files needed by Mathcad).
2024-10-06 12:08:59 -04:00
Jeff Henning
34667e826d Update release_all_files.yml to call mathcad_builder directly [skip ci] 2024-10-05 22:18:43 -04:00
Jeff Henning
d04ad68a43 Update mathcad_builder.yml for workflow_call only [skip ci] 2024-10-05 22:02:27 -04:00
Jeff Henning
e02652b448 Update mathcad_builder.yml [skip ci]
- Direct artifact storage to binaries-MathcadPrime
- Update to checkout@v4
2024-10-05 21:51:52 -04:00
Jeff Henning
fb011601da Update mathcad_builder.yml
Back to upload-artifact@v4
2024-10-04 04:52:09 -04:00
Ian Bell
730620f7b1 Expose the neff function 2024-10-03 20:00:15 -04:00
Jeff Henning
4e15fced74 Update release_all_files.yml - Remove mathcad_builder [skip ci]
Remove Mathcad from collect binaries matrix, for now.  Will try another way with updated artifacts actions.
2024-10-03 05:47:53 -04:00
Jeff Henning
300985495f Revert mathcad_builder.yml to upload-artifact@v3 for debugging 2024-10-02 03:58:27 -04:00
spinnau
0a43d10fcf Fix libreoffice_builder (#2419)
- Run apt-get update to sync package index files before installing
  libreoffice as a build dependency. This fixes failing builds due
  to download errors of outdated packages.
- Update to actions/checkout@v4 as v3 uses deprecated Node.js version.
2024-09-30 04:55:29 -04:00
Jeff Henning
20a062272e Update library_shared Workflow for v4 Artifacts
Create individual artifacts for each OS and then merge them into one after they are created.
2024-09-29 09:27:37 -04:00
Jeff Henning
c32522ef0d Update the Release Workflow for upload/downlaod-artifact@v4 [skip ci] (#2418)
* Update release_get_artifact.yml

Create uniquely named artifacts for each workflow processed using the input workflow name.

* Merge unique artifacts when downloading for deploy

upload-artifact@v4 requires unique artifact names.  These will be downloaded with a pattern of "binaries-*" and merged in to the same binaries directory for deployment.
2024-09-28 16:03:10 -04:00
Jeff Henning
214a6147df Update libreoffice_builder.yml
Artifacts not found error in nightly build.  Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4. Also, v3 is being deprecated.
2024-09-24 05:16:33 -04:00
Jeff Henning
21163b3cd9 Update docs_docker-run.yml
Artifacts not found error in nightly build.  Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4. Also, v3 is being deprecated.
2024-09-24 05:15:00 -04:00
Jeff Henning
0cc66c32a3 Update windows_installer.yml
Artifacts not found error in nightly build.  Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4. Also, v3 is being deprecated.
2024-09-24 05:12:40 -04:00
Jeff Henning
2652273cde Update library_shared.yml
Artifacts not found error in nightly build.  Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4. Also, v3 is being deprecated.
2024-09-24 05:11:18 -04:00