Commit Graph

31 Commits

Author SHA1 Message Date
Edouard Choinière
7819799d0d Sort almost all usages of glob.glob for reproducible output
This will help diff-ing logs between invocations to see what is changing when refactoring. When used for creating an archive, it will help creating a reproducible file.
2025-01-28 03:28:11 +00:00
Robin Dunn
f56d65daaa Migrate CI from Azure Pipelines to GitHub Actions
Some checks are pending
ci-build / build-source-dist (push) Waiting to run
ci-build / build-wheels (x64, macos-13, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x64, macos-13, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.13-dev) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.8) (push) Blocked by required conditions
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Blocked by required conditions
* Add --quiet option

* First pass on github workflow for CI

* Comment out the 2nd job for now

* Changes and tweaks from what I learned in a test project

* We also need to run the dox command

* Set PYTHONUNBUFFERED in the workflow

* Copy sip.h when the siplib is (re)created, instead of later during the build

* generate version modules in cmd_sdist too

* More fixes for building an sdist in a clean folder

* install gettext

* sudo

* Add build-wheels job

* add apt update

* Explicitly install libunwind-dev to workaround a package dependency bug

* Split the generate and the sdist step into 2 steps.

* fixes for building sdist on Windows, and also enable some additional MSVC info when building

* Use ilammy/msvc-dev-cmd to set up MSVC

* Comment out some no longer needed debug prints

* Add remaining matrix entries

* Uninstall wxPython at the end of the test, turn off fail-fast.

* uninstall --yes

* Add builds for Python 3.12 and 3.13

* Pin setuptools to < 74 on Windows due to removal of setuptools.msvc

* Remove Azure pipelines

* Try building on macOS x86 (not ARM)

* Update actions versions to non-deprecated ones

* Use macOS 13 (-large images seem to not be available on free accounts)

* avoid using -latest to avoid surprises later

* fix typo

* Remove checkout step from matrix (shouldn't be needed?)

* Revert "Remove checkout step from matrix (shouldn't be needed?)"

This reverts commit 385ef5c832.

---------

Co-authored-by: Scott Talbert <swt@techie.net>
2024-09-01 10:06:02 -04:00
Robin Dunn
f58bb9e355 little tweaks 2022-05-31 17:34:18 -07:00
Robin Dunn
cadd91697c Switch to setuptools.msvc for getting setup info for the Windows compiler, reducing dependence on distutils. 2022-05-14 20:31:11 -07:00
Robin Dunn
454ef9b2cd Clean it up 2021-12-17 15:00:24 -08:00
Robin Dunn
5f3c8cd22b Go back to using the default SDK?? 2021-12-17 14:31:47 -08:00
Robin Dunn
b528e68ead Force use of builtin libs on macOS, rather than any that might be found on the system 2021-12-03 08:42:17 -08:00
Robin Dunn
7725f466e5 Some tweaks to fix multi-architecture builds on maxOS 2021-11-30 15:58:38 -08:00
Robin Dunn
b42e0c160f The setup0.h hack is no longer needed 2021-07-24 16:39:23 -07:00
Robin Dunn
2497454917 Add flag for turning off MS edge support, code to download the dev files, etc. 2020-10-13 13:18:09 -07:00
Robin Dunn
ab674002af Bump min OSX version to 10.10 2020-07-07 11:12:22 -07:00
Per A. Brodtkorb
e4e8bf8317 Fixes issue 1571:
Adding missing close for open.
If the "close()" call is missing after a "open(filename)" call, the filename isn't guaranteed to be closed before the interpreter exits.
This is generally a bad practice as explained here: https://stackoverflow.com/questions/7395542/is-explicitly-closing-files-important

Also replaced "fid=open(filename) fid.close()" statements for files with the safer
"with open(filename) as fid:" blocks. See https://www.python.org/dev/peps/pep-0343/
2020-03-23 17:16:44 +01:00
Per A. Brodtkorb
033c18fd9f Fixes issue #1556
Replaced XXX.keys() calls with idiomatic python 3 calls that are compatible with python 2 such as eg:
 * replaced "y = xxx.keys()" or "y = list(xxx.keys())" with just "y = list(xxx)"
 * replaced "sorted(xxx.keys())" or "sorted(list(xxx.keys()))" with just "sorted(xxx)"
 * replaced "if not A in B.keys():" with "if A not in B:"
 * replaced "for A in B.keys():"  with "for A in B:"

See also https://python-future.org/compatible_idioms.html
https://python-future.org/compatible_idioms.html#dict-keys-values-items-as-a-list
2020-03-20 18:51:19 +01:00
Robin Dunn
18b30fc2e6 Turn off using wx-dpi-aware.manifest for Python 2.7 builds 2019-12-12 12:18:54 -08:00
Robin Dunn
7a82a27ab8 Set wxUSE_WINRT to 0 2019-05-27 14:56:02 -07:00
Robin Dunn
dcb06f6f18 Update to 10.9 min deployment version, and try not explicitly setting the SDK 2019-05-23 21:34:06 -07:00
Robin Dunn
221a98e902 Merge pull request #1223 from RobinD42/more-build-tweaks
More build tweaks

(cherry picked from commit d1b79db2a9)
2019-05-13 19:59:29 -07:00
Robin Dunn
2f8d1b2e9a wxWidgets has been fixed, enable use of SDL again.
Update wxWidgets to latest master.
2018-10-17 11:11:49 -07:00
Robin Dunn
6b0776e41b turn off SDL for now, there's a link bug in wxWidgets 2018-10-16 16:32:22 -07:00
Robin Dunn
2f540a91e6 Merge pull request #1034 from RobinD42/fix-issue958-291-wxAccessible
Add wxAccessible and a tool to generate C++ stubs

(cherry picked from commit 3a9f37f2aa)
2018-10-10 19:40:59 -07:00
Robin Dunn
b5bb587145 Merge pull request #897 from RobinD42/add-windowidref
Add wx.WindowIDRef and wx.NewIdRef
2018-06-24 21:37:54 -07:00
Robin Dunn
09c066e695 Set min OSX version build option to 10.6 2017-11-07 17:49:38 -08:00
Robin Dunn
d4f95cdf32 Don't add either of the gtk flags if on Darwin 2017-08-16 08:02:30 -07:00
Robin Dunn
34630a5707 Add --gtk2 option.
Default to building for gtk3.
Keep --gtk3 flag for compatibility.
2017-08-14 15:31:17 -07:00
Robin Dunn
5e0c0fb19c We need to explicitly enable wxUSE_IFF on Windows,
it is turned off by default.
2017-06-30 08:51:16 -07:00
Robin Dunn
32a324f73b Some minor cleanup 2016-09-22 09:46:39 -07:00
Robin Dunn
1f81ba9299 Let's try multilib builds on Mac... 2016-06-21 20:24:28 -07:00
Robin Dunn
5c029d5955 Use cp1252 on Windows for the wxWidgets build too,
and add a note to the README about it.
2016-02-29 19:11:49 -08:00
Robin Dunn
5a2ce07014 Add compiler version support for VisStudio 2015 2016-02-28 22:37:21 -08:00
Robin Dunn
598ee1e3f2 Import and use build_wxwidgets from buildtools 2016-02-27 18:25:28 -08:00
Robin Dunn
4cbfc0d330 Copy the build-wxwidgets.py script into Phoenix's buildtools.
I think we're the only ones using it anyway.
2016-02-27 18:25:28 -08:00