-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add package workflow #1158
Add package workflow #1158
Commits on Mar 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bb46724 - Browse repository at this point
Copy the full SHA bb46724View commit details -
[SCons/Cython] Remove Darwin prefix setting
This line was added to fix a problem with Python 2 [1,2] in Homebrew circa 2015 via b979cea. That fix is no longer needed in 2022. [1]: https://web.archive.org/web/20190629053857/https://github.com/Homebrew/homebrew-python/issues/187 [2]: https://web.archive.org/web/20200221230523/https://bugs.python.org/issue22269
Configuration menu - View commit details
-
Copy full SHA for cc71038 - Browse repository at this point
Copy the full SHA cc71038View commit details -
[Cython/Test] Fix a test that doesn't use work dir
This test was writing data into the site-packages directory if the tests were run from an installed copy of Cantera.
Configuration menu - View commit details
-
Copy full SHA for 0825134 - Browse repository at this point
Copy the full SHA 0825134View commit details -
[SCons] Configure macOS target version for Python
In some cases, Python can issue a warning about incompatible ABI versions on macOS when Python is compiled with one target and Cantera is compiled with another. This change pulls the configuration value from Python if the full Python package is being built, if it isn't set by an environment variable.
Configuration menu - View commit details
-
Copy full SHA for fb7644e - Browse repository at this point
Copy the full SHA fb7644eView commit details -
[Cython] Remove unnecessary install option
This option was added to support Python 2/3 with Homebrew on Mac OS X. As Python 2 is no longer supported, this line is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for 7c092ef - Browse repository at this point
Copy the full SHA 7c092efView commit details -
[Cython] Remove bdist_win installer
The Windows binary MSI distribution is deprecated by Python. The replacement is wheels which are now working.
Configuration menu - View commit details
-
Copy full SHA for 721a12f - Browse repository at this point
Copy the full SHA 721a12fView commit details -
[SCons] Fix if git is not present on the system
If git cannot be found by subprocess, it raises a FileNotFoundError.
Configuration menu - View commit details
-
Copy full SHA for e260a92 - Browse repository at this point
Copy the full SHA e260a92View commit details -
[SCons/Cython] Use pip to build/install interface
Setuptools versions greater than 60.0.0 deprecate using setup.py install commands, in preference for PEP 517/518 build backends/frontends. In this case, we're using pip as the frontend and setuptools as the backend. This also uses pip to determine the installation location for the module. It uses pip's internal API which is subject to change. However, pip does not expose an external API to get this information, and since Pip is the one determining where files will be installed, this seems the most reasonable approach for now.
Configuration menu - View commit details
-
Copy full SHA for 42f5ff0 - Browse repository at this point
Copy the full SHA 42f5ff0View commit details -
[SCons/Cython] Change default python_prefix value
When using pip as the installer, setting the default python_prefix equal to the prefix configuration value is no longer necessary. By removing this setting, we respect the decision of the Linux distro maintainers as to where Pip should install packages, since Pip reads this information from the CPython configuration. On macOS, the system Python is locked at 2.7, so isn't supported anyways. On Windows, this was already the default.
Configuration menu - View commit details
-
Copy full SHA for d064147 - Browse repository at this point
Copy the full SHA d064147View commit details -
[SCons] Change installation directory printout
There are no longer any applications installed with Cantera.
Configuration menu - View commit details
-
Copy full SHA for dd2f3ed - Browse repository at this point
Copy the full SHA dd2f3edView commit details -
[SCons] Python minimal uses pip to install
This change mirrors the one for the Cython interface. Pip is used as the build frontend, setuptools is used as the backend. A wheel file is built during the 'scons build' phase to ensure that all the machinery is working properly; this wheel is not used further.
Configuration menu - View commit details
-
Copy full SHA for d54c1bd - Browse repository at this point
Copy the full SHA d54c1bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95038db - Browse repository at this point
Copy the full SHA 95038dbView commit details -
Raise an error if the submodules aren't present
We need these here to copy the files into the sdist.
Configuration menu - View commit details
-
Copy full SHA for 80151d4 - Browse repository at this point
Copy the full SHA 80151d4View commit details -
[Test/Reactor] Relax tolerance for custom reactor
With OpenBLAS on macOS, this test has a relative error of 1.06e-8, just barely exceeding the original tolerance.
Configuration menu - View commit details
-
Copy full SHA for 3047394 - Browse repository at this point
Copy the full SHA 3047394View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4103774 - Browse repository at this point
Copy the full SHA 4103774View commit details -
Configuration menu - View commit details
-
Copy full SHA for e552d2c - Browse repository at this point
Copy the full SHA e552d2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c090f87 - Browse repository at this point
Copy the full SHA c090f87View commit details
Commits on Mar 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a10cf62 - Browse repository at this point
Copy the full SHA a10cf62View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8062e2 - Browse repository at this point
Copy the full SHA f8062e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3a9f79 - Browse repository at this point
Copy the full SHA d3a9f79View commit details -
[SCons] Clean up the cleaning process
Since Python builds are done in the build directory, we don't need to clean up the interfaces folder anymore.
Configuration menu - View commit details
-
Copy full SHA for cd39ef2 - Browse repository at this point
Copy the full SHA cd39ef2View commit details
Commits on Mar 15, 2022
-
We're dropping Python 3.6, Windows builds need wheel installed, and the GitHub Actions macOS runners are notoriously slow.
Configuration menu - View commit details
-
Copy full SHA for cfe7e2f - Browse repository at this point
Copy the full SHA cfe7e2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65ed4a3 - Browse repository at this point
Copy the full SHA 65ed4a3View commit details -
[CI] Switch Boost download to jfrog
The Sourceforge "pilotfibre" domain has an expired SSL certificate and doesn't seem to be maintained anymore.
Configuration menu - View commit details
-
Copy full SHA for 3c8fb4f - Browse repository at this point
Copy the full SHA 3c8fb4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16f6ed5 - Browse repository at this point
Copy the full SHA 16f6ed5View commit details
Commits on Mar 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ecd8aff - Browse repository at this point
Copy the full SHA ecd8affView commit details -
[SCons/Cython] Fix install prefix
If the prefix is set, the Python package should be installed there.
Configuration menu - View commit details
-
Copy full SHA for cb93743 - Browse repository at this point
Copy the full SHA cb93743View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e1079a - Browse repository at this point
Copy the full SHA 8e1079aView commit details
Commits on Mar 20, 2022
-
[SCons] Fix build errors on Windows
The default_prefix variable needs to always be set. This also fixes backslash-separated paths by replacing with forward slash. Although this is most likely to occur on Windows, it's not platform specific.
Configuration menu - View commit details
-
Copy full SHA for f7e40dc - Browse repository at this point
Copy the full SHA f7e40dcView commit details
Commits on Mar 21, 2022
-
[SCons] Avoid normpath for prefix
On Windows, normpath turns forward slashes into backslashes. We want to avoid that because paths on Windows that have backslash turn into escapes that break things.
Configuration menu - View commit details
-
Copy full SHA for 448d7cf - Browse repository at this point
Copy the full SHA 448d7cfView commit details -
[SCons] Move prefix string replacement
Hopefully move this after all path manipulations happen.
Configuration menu - View commit details
-
Copy full SHA for e680b8f - Browse repository at this point
Copy the full SHA e680b8fView commit details