Alexandre Detiste
0257f755cf
remove most of Python2 compatibility code
2025-02-02 20:17:45 -05:00
Scott Talbert
5abeba2f5d
Fix bundled wxWidgets build on OpenSUSE
...
ci-build / build-source-dist (push) Has been cancelled
ci-build / Build wxPython documentation (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.9) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.9) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.10) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.11) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.12) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.13) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
ci-build / Publish Python distribution to PyPI (push) Has been cancelled
ci-build / Create GitHub Release and upload source (push) Has been cancelled
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Has been cancelled
OpenSUSE has defined its libdir to be 'lib64', which is mismatched with
wxWidgets' in-place wx-config, which expects 'lib.' Work around this by
unsetting the CONFIG_SITE envvar (which enables the OpenSUSE customizations)
when configuring wxWidgets.
Fixes: https://github.com/wxWidgets/Phoenix/issues/558
Fixes: https://github.com/wxWidgets/Phoenix/issues/1067
Fixes: https://github.com/wxWidgets/Phoenix/issues/2422
Fixes: https://github.com/wxWidgets/Phoenix/issues/2532
2025-02-01 19:47:12 -05:00
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
Edouard Choinière
e56e248767
Remove attrdict3 build dependency and use plain dict
2025-01-18 23:34:11 +00:00
Scott Talbert
521daf70dd
Use script for installing Linux depends
2024-11-11 20:41:16 -05:00
Scott Talbert
99d1749683
Merge pull request #2603 from komoto48g/py312-warn
...
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
ci-build / Build wxPython documentation (push) Waiting to run
ci-build / Publish Python distribution to PyPI (push) Blocked by required conditions
ci-build / Create GitHub Release and upload source (push) Blocked by required conditions
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Blocked by required conditions
DeprecationWarning due to distutils
2024-09-12 20:42:48 -04:00
Scott Talbert
5c418711c3
Bump version number
2024-09-12 19:59:00 -04:00
Scott Talbert
656020b88f
Update version to 4.2.2
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
ci-build / Build wxPython documentation (push) Waiting to run
ci-build / Publish Python distribution to PyPI (push) Blocked by required conditions
ci-build / Create GitHub Release and upload source (push) Blocked by required conditions
ci-build / Upload wheels to snapshot-builds on wxpython.org (push) Blocked by required conditions
2024-09-11 19:27:32 -04:00
Kazuya O'moto
0da5a0bd5c
Modify import from setuptools.modified
2024-09-11 01:51:09 +09:00
Kazuya O'moto
3af6625242
Don't warn unclosed file with subprocess.Popen
...
https://docs.python.org/3/library/subprocess.html#popen-constructor
> Changed in version 3.2: Added context manager support.
> Changed in version 3.6: Popen destructor now emits a ResourceWarning warning if the child process is still running.
2024-09-07 01:39:32 +09:00
Kazuya O'moto
45d50d4553
Don't warn build process with distutils
...
Porting from Distutils:
Change distutils.dep_util --> setuptools.modified.
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html
https://peps.python.org/pep-0632/
2024-09-07 01:39:25 +09:00
Robin Dunn
f56d65daaa
Migrate CI from Azure Pipelines to GitHub Actions
...
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
Scott Talbert
fd8781c97a
Update sip to v6.8.5
2024-07-07 16:42:10 -04:00
Scott Talbert
2c6307142f
Update sip to v6.8.3 and fix deprecations
2024-02-12 23:20:17 -05:00
Robin Dunn
a5bb3d9b87
Bump version number
2023-06-07 19:27:55 -07:00
Robin Dunn
6bb8c18ce7
Remove alpha tag from the version number
2023-06-06 14:12:40 -07:00
Robin Dunn
a5480e537d
Py 3.12 syntax fix
2023-05-31 17:31:02 -07:00
Scott Talbert
2e9169effa
Only require attrdict3 on Windows
...
It's only used on Windows, so only require it there.
2022-08-08 20:00:52 -04:00
Robin Dunn
1ecff8aabe
Update version number for next release cycle
2022-08-08 15:27:09 -07:00
Robin Dunn
66c3e0cdc5
Set release date and some minor text tweaks
2022-08-06 17:20:55 -07:00
Markus Mützel
a8f74c5d32
Simplify building with MinGW toolchain
...
Add a waf option `--no_msvc` that switches from a MSVC toolchain to a MinGW toolchain on Windows.
2022-07-11 19:14:22 +02:00
Robin Dunn
369d49f621
Merge branch 'swt2c-sip6'
2022-06-30 14:13:57 -07:00
Robin Dunn
4c993c1b1a
Updates needed to switch to wx master branch (3.2.0)
2022-06-28 20:27:42 -07:00
Scott Talbert
90171ba216
Update to use sip 6.6.x
...
1) Switch to running sip using its new sip-build command line interface,
which requires writing out a pyproject.toml to configure it.
2) Generate the sip build file (sbf) ourselves since sip no longer writes
them.
3) Remove the embedded sip module code and generate it on the fly during
the build process.
Fixes #2169 .
2022-06-18 13:54:17 -04:00
Scott Talbert
46f1c1759f
Update wxWidgets to 3.1.7
2022-06-08 14:44:47 -07:00
Robin Dunn
f58bb9e355
little tweaks
2022-05-31 17:34:18 -07:00
Robin Dunn
7413837833
Since we've already set everything we need in the environment set DISTUTILS_USE_SDK so distutils won't try to do it all again.
2022-05-16 22:37:02 -07:00
Robin Dunn
d8a07a78a4
Docstring clarification
2022-05-16 10:10:01 -07:00
Robin Dunn
3038b2e916
Use 14.0 as the minimum MSVC version
2022-05-16 10:04:44 -07:00
Robin Dunn
685b9af718
Move setting the environment variables into getMSVCInfo
2022-05-15 10:40:51 -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
Scott Talbert
5dbd14224a
Update wxWidgets version in buildtools/version.py
2022-05-02 22:34:13 -04: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
9627bb8035
Merge branch 'master' into update-wx
2021-12-13 21:40:18 -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
332a70cc34
traverse flags in the reverse order so they end up in the same relative order when done
2021-11-30 15:41:04 -08:00
Christian Clauss
25ba122168
Fix typos discovered by codespell
2021-08-07 18:55:49 +02:00
Robin Dunn
b42e0c160f
The setup0.h hack is no longer needed
2021-07-24 16:39:23 -07:00
Robin Dunn
224630cf64
Add Config.SIP_TRACE flag
2021-01-07 13:43:11 -08:00
Robin Dunn
c385873d70
Add SIP_ABI to the config object
2021-01-05 11:11:26 -08:00
Robin Dunn
c8e25b79e1
Run SIP via its Python interface rather than as a separate subprocess
2021-01-05 11:01:25 -08:00
Robin Dunn
201228c529
Improve code to use the same CC and CXX as wxWidgets, including flags that may be added on to wx's CC/CXX.
2020-12-01 16:19:38 -08:00
Robin Dunn
dedc0d62b7
Bump version number for next release
2020-11-25 13:58:30 -08:00
Robin Dunn
9076f1ddd0
Remove alpha tag
2020-11-20 12:54:53 -08: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
510adc9aa1
wxWidgets version is now 3.1.5
2020-09-10 12:44:48 -07:00
Robin Dunn
ab674002af
Bump min OSX version to 10.10
2020-07-07 11:12:22 -07:00
Robin Dunn
b7f544d5b6
Bump version number for eventual next release
2020-04-24 12:41:48 -07:00