Commit Graph

5441 Commits

Author SHA1 Message Date
Ian Bell
b3389ab3e0 Merge remote-tracking branch 'origin/master' into arm64 2024-12-07 12:37:46 -05:00
Ian Bell
991e3a0f89 Update library_shared.yml to enable arm64 on windows 2024-12-07 12:32:58 -05:00
Ian Bell
3ca7635fe0 Update msgpack-c and selectively add boost
(like was done in teqp)
2024-12-07 12:23:03 -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
Jeff Henning
20b0dd73a6 Update javascript_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:10:20 -04:00
Jeff Henning
7b7d5384f3 Update mathcad_builder.yml to use actions/upload-artifacts@v4
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:07:53 -04:00
Jeff Henning
13746e016d Update release_get_artifact.yml to use upload-artifact@v4
Artifacts not found error in nightly build.  Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4
2024-09-24 04:58:57 -04:00
Jeff Henning
3d5653e31a Update release_all_files.yml to upload-artifact@v4
An automated Dependabot updated actions/download-artifacts@v4.1.7 on 9/7 and broke the nightly builds.  Per the FAQs for artifacts, the upload-artifacts must create compatible artifact versions.  Updating to actions/upload-artifact@v4 (latest 4.4.0) to fix nightly builds.  See GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
2024-09-23 05:10:14 -04:00
Jeff Henning
231ec2245a Bypass mcad builder on pushes and PRs (#2416) 2024-09-22 10:17:30 -04:00
Juan F. Coronel
49c00f5779 Update index.rst (#2415)
PropiedadesDeFluidos has changed the name to fProperties and the link has also changed to github.

pSolver has changed the link to github
2024-09-19 22:10:05 -04:00
Ian Bell
a78541ad44 Make the artifact files uniquely named 2024-09-07 11:31:04 -04:00
Ian Bell
ccbb9d289c Bump action version for QEMU 2024-09-07 11:30:37 -04:00
Ian Bell
c40f81dcc9 python 3.6 and 3.7 are officially EOL
The sdist should still work though in a pinch
2024-09-07 11:30:12 -04:00
Ian Bell
08e07a73e3 Bump the sdist actions 2024-09-07 11:29:43 -04:00
Ian Bell
161098ff91 Bump a lot of actions to newer versions 2024-09-07 10:25:32 -04:00
dependabot[bot]
cdf155d849 Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows (#2411)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-07 10:12:40 -04:00
Ian Bell
fe899797eb Add a debug command for the Maxwell ancillary repair step
To highlight when the JSON contains crazy placeholders, perhaps coming from REFPROP-interop
2024-09-07 09:48:06 -04:00
Ian Bell
f86cff92ec Fix critical density for cyclopentane
Should have also been updated when updating the EOS
2024-08-29 08:58:12 -04:00
Jeff Henning
873411d55c Improve Robustness of IF97 Reverse (P,H) and (P,S) Evaluations Along Saturation Curve (#2404)
* Bump IF97

* Patch IF97 Backend Reverse Functions for Robustness Near Saturation
2024-08-11 10:23:26 -04:00
Ian Bell
56b09a6b75 Fix InChi string/key for R1233zd(E)
Previous values were for the mixture of Z and E isomers
2024-08-05 14:43:15 -04:00
Ian Bell
8b26809c39 Disable checks for model types in REFPROP BIP setting/getting 2024-08-02 08:15:58 -04:00
Ian Bell
01b6804a60 Fix source searching in python build
On OSX you get the dreaded .DS_Store files to contend with
2024-08-01 11:25:06 -04:00
stephen-young
d06b84b02a Add link to coolprop-mat repo (#2396)
This commit adds a link to a repo that contains information on how to
call `CoolProp` through MATLAB's C interface with the `CoolProp` shared
library.
2024-07-29 17:58:40 -04:00
Ian Bell
8eed9591eb Fix javascript building (I think) in GH Actions
See #2394
2024-07-06 18:48:31 -04:00
Ian Bell
4a6c169894 Bump the version for checkout to use new node 2024-07-06 18:31:24 -04:00
Ian Bell
76da60cb35 Rename dev_cppcheck.yml to dev_cppcheck.yml
Disable this action, hasn't been working for ages
2024-07-06 18:28:10 -04:00
Ian Bell
0faa2a80df Update release_get_artifact.yml
Try to fix the node16 issues bit by bit (see #2394)
2024-07-06 18:25:13 -04:00
msaitta-mpr
ae2284e498 Fix bug introduced by 443a2fd (#2351)
Commit 443a2fd addedsome extra checks for convergence in the Helmholtz
PHSU flash routines. However, its checking was more aggressive than the
original routine. This caused the routine to raise an exception on
several values that had previously been deemed acceptable. This trickled
down to cause the TTSE tables to be filled with empty values, making
them less robust.

This commit allows for a solution to be acceptable if the change is
small between iterations as was originally intended.
2024-06-20 21:19:40 -04:00
Ian Bell
f6eb03742f Copy the viscosity correlation into parahydrogen
Paper indicates it is valid for normal H2 and para-H2
Closes #2371
2024-04-21 09:51:17 -04:00
jonCAstickel
41d449d6ba update Mac docs (#2362) 2024-04-04 20:05:39 -04:00
Ian Bell
3c60f822b6 Bump cibuildwheel version
Maybe it fixes the failures?
2024-03-23 11:56:42 -04:00