* 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.
- 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.
* 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.
Artifacts not found error in nightly build. Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4. Also, v3 is being deprecated.
Artifacts not found error in nightly build. Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4. Also, v3 is being deprecated.
Artifacts not found error in nightly build. Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4. Also, v3 is being deprecated.
Artifacts not found error in nightly build. Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4. Also, v3 is being deprecated.
Artifacts not found error in nightly build. Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4. Also, v3 is being deprecated.
Artifacts not found error in nightly build. Use actions/upload-artifacts@v4 for compatibility with download-artifacts@v4. Also, v3 is being deprecated.
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
* 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