Commit Graph

110 Commits

Author SHA1 Message Date
Ian Bell
991e3a0f89 Update library_shared.yml to enable arm64 on windows 2024-12-07 12:32:58 -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
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
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
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
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
Ian Bell
3c60f822b6 Bump cibuildwheel version
Maybe it fixes the failures?
2024-03-23 11:56:42 -04:00
spinnau
956d949bbd Update build process for LibreOffice wrapper (#2341)
* Fix build of LibreOffice wrapper for LibreOffice SDK >= 7.5

In the LibreOffice SDK version 7.4 the "idlc" and "regmerge" tools were
deprecated and replaced by the new UNOIDL compiler "unoidl-write". The
old tools have been removed from version 7.5 onwards. Thus, the build
process is changed to use the new compiler.

- The new binary type libary format produced by "unoidl-write" has
  already been used internally since LibreOffice 4.1 in 2013, so that
  extensions built with the new compiler will also run on older office
  versions. The minimal LibreOffice version for the extension is
  therefore changed to 4.1
- With the "unoidl-write" compiler some API changes were introduced.
  Identifiers containing underscores must start with an uppercase
  letter, as identifiers with underscores and starting with a lowercase
  letter are reserved for internal purposes. Thus, the naming of some
  functions used in the extension is changed.

* Enable install of CoolProp python package dev versions

If the LibreOffice extension was built for a development version, then
it should also download the appropriate development version of the
CoolProp python package.

* Add a builder for LibreOffice wrapper

* Add LibreOffice builder to release workflow
2024-01-11 12:46:33 -05:00
Jorrit Wronski
85f76845be Bump the version number and include mathcad in the release files 2023-11-29 16:19:50 +01:00
Jorrit Wronski
e83c7160d3 Actions for Mathcad (#2322)
Added the Mathcad module to the GitHub actions
2023-11-29 08:35:13 +01:00
Ian Bell
4e39188a8f Another new Cython permitted 2023-11-03 19:09:27 -04:00
Ian Bell
03922dfd5c Oops wrong script
See #2310
2023-11-03 18:41:10 -04:00
Ian Bell
b54caf55d9 Bump cibuildwheel to turn on python 3.12
See #2310
2023-11-03 18:25:07 -04:00
Jorrit Wronski
43f1e96ce2 Skip the need for bash to evaluate shell variables 2023-08-11 10:32:42 +02:00
Jorrit Wronski
edbd9027a6 Add the different 32bit Windows builds to the CI jobs 2023-08-11 10:23:18 +02:00
Jorrit Wronski
d486ff8401 Add javascript to the release script (#2279)
* Added a Javascript builder
* Updated the docs
2023-08-10 15:51:21 +02:00
Jorrit Wronski
40f9dc1a6d A lot of work only to strip the "v" from the version number on SourceForge 2023-08-08 21:54:10 +02:00
Jorrit Wronski
fbbcc7e921 Typo in the workflow file 2023-08-08 15:21:30 +02:00
Jorrit Wronski
4f48e49cab Simplify the full rebuild detection - did not work before 2023-08-08 15:14:47 +02: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
Ian Bell
f5c26f0db0 Escaping needed for <3 2023-08-06 11:52:47 -04:00
Ian Bell
81261ee85b sdist should also use old Cython 2023-08-06 10:57:55 -04:00
Arnab Mahanti
db1b0953cd Revert "Fix failing python_cibuildwheel workflows" and update (#2271)
* Revert "Switch to older cython version (#2270)"

This reverts commit 3a16339a8c.

* updated to cython<3.0
2023-07-26 12:08:33 -04:00
Arnab Mahanti
3a16339a8c Switch to older cython version (#2270) 2023-07-26 10:51:05 -04:00