Commit Graph

5696 Commits

Author SHA1 Message Date
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
Scott Talbert
c4d944b582 Use unmodified WAF check_python_headers on Windows
Some checks failed
ci-build / build-source-dist (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-dev) (push) Has been cancelled
ci-build / build-wheels (x64, macos-13, 3.8) (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-dev) (push) Has been cancelled
ci-build / build-wheels (x64, ubuntu-22.04, 3.8) (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-dev) (push) Has been cancelled
ci-build / build-wheels (x64, windows-2022, 3.8) (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-dev) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.8) (push) Has been cancelled
ci-build / build-wheels (x86, windows-2022, 3.9) (push) Has been cancelled
Unsure why this was needed in the first place as it seems to build fine now.
Presumably lots of things have been fixed in WAF since this was a problem.
2024-09-01 10:10:57 -04:00
Scott Talbert
d809a7e509 Update waf to 2.1.2 2024-09-01 10:10:57 -04: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
Scott Talbert
06b78e2072 Update ChangeLog for 4.2.2 release 2024-08-31 10:41:08 -04:00
Scott Talbert
dc38ff1a08 Merge pull request #2591 from s-t-e-v-e-n-k/stop-using-np-alltrue
Replace N.alltrue() with N.all()
2024-08-31 09:21:35 -04:00
Matt Newville
99d71bba4b update README.rst (#2593)
* update README.rst

* fix typos, clean up references to out-dated build tools

* better links for GH Issues, wxPython discuss
2024-08-30 16:38:39 -04:00
Steve Kowalik
b1d5cb708c Replace N.alltrue() with N.all()
Building on the excellent work in f7d1d818, replace the two uses of
N.alltrue() with N.all(), since the former has been removed in numpy
2.0. Also replace uses of float_ with float64.
2024-08-30 10:19:22 +10:00
Scott Talbert
c2f6459f12 Merge pull request #2588 from swt2c/change_tools_url
Update tools URL to use GitHub Pages
2024-08-28 23:31:04 -04:00
Scott Talbert
f3c5eaba49 Pin setuptools to < 74 on Windows due to removal of setuptools.msvc 2024-08-28 19:57:46 -04:00
Scott Talbert
32a144734b Update tools URL to use GitHub Pages 2024-08-28 19:24:36 -04:00
Randy Döring
f7d1d8188c Fix NumPy 2.0 deprecations via running ruff (#2580)
* Fix NumPy 2.0 deprecations via running `ruff check --select NPY201 --fix --exclude docs/sphinx/rest_substitutions/snippets/python/converted`

See https://numpy.org/devdocs/numpy_2_0_migration_guide.html#numpy-2-0-migration-guide

* Use `numpy.any` instead of `any` because the latter does not work for multidimensional arrays.
2024-08-21 19:53:57 -04:00
Scott Talbert
3901d05d40 Fixup flatmenu memory fix 2024-07-11 20:20:49 -04:00
Scott Talbert
cf806af384 Merge pull request #2573 from swt2c/cython_3.0.10
Update Cython to 3.0.10 and regenerate nanosvg wrapper
2024-07-08 22:15:34 -04:00
Scott Talbert
fe5b6ec799 Update Cython to 3.0.10 and regenerate nanosvg wrapper 2024-07-08 20:40:57 -04:00
Scott Talbert
50ea75909a Merge pull request #2373 from arjones6/master
flatmenu memory usage improvements
2024-07-08 09:43:45 -04:00
Scott Talbert
299f9c3655 Merge pull request #2571 from wxWidgets/sip_6.8.5
Update sip to v6.8.5
2024-07-08 09:35:54 -04:00
Scott Talbert
fd8781c97a Update sip to v6.8.5 2024-07-07 16:42:10 -04:00
Scott Talbert
50d93a7874 Merge pull request #2572 from swt2c/ci-macos-12
Update macOS CI to use macOS 12
2024-07-07 16:41:02 -04:00
Scott Talbert
9efb5f0487 Update macOS CI to use macOS 12 2024-07-07 13:18:19 -04:00
Scott Talbert
78938da121 Revert CreateAccessible tweaker_tool change for now 2024-05-18 09:26:06 -04:00
Jorge Moraleda
a1c9554bbf Update wxWidgets to v3.2.5. Add support for new, MSW-only Accessibility related methods. 2024-05-17 21:32:22 -04:00
Scott Talbert
5622abb73d Merge pull request #2542 from BigHatMortimer/Fix_to_bar.py
Bugfix Bar.py
2024-03-21 17:56:11 -04:00
Alessandro Mattiazzi
4d29e7dd72 Bugfix Bar.py
Added int casting on RecalculateTabSizes function to fix error
2024-03-21 16:27:27 +01:00
Scott Talbert
a207b40700 Merge pull request #2536 from DietmarSchwertberger/ISS_2535
update BusyCursor snippet
2024-02-27 13:17:21 -05:00
DietmarSchwertberger
d343f222cc update BusyCursor snippet 2024-02-27 14:08:10 +01:00
decodeais
0205c7c1b9 speedmeter.py lost background color (#2528)
* Update speedmeter.py

missing typcast makes the backgraound of the speedmeter white

* Update wx/lib/agw/speedmeter.py

---------

Co-authored-by: Scott Talbert <swt@techie.net>
2024-02-17 10:44:03 -05:00
Scott Talbert
e207aa2df4 Merge pull request #2527 from swt2c/sip_6.8.3
Update sip to v6.8.3 and fix deprecations
2024-02-13 09:35:06 -05:00
Scott Talbert
2c6307142f Update sip to v6.8.3 and fix deprecations 2024-02-12 23:20:17 -05:00
Scott Talbert
832f17260f Merge pull request #2232 from StefanBruens/wxget_pip_optional
Make pip usage in wxget optional
2024-02-05 15:15:41 -05:00
Scott Talbert
cdf786ac5b Add Python 3.12 to classifiers 2024-01-29 20:16:35 -05:00
Scott Talbert
ca99fb1378 Merge pull request #2496 from swt2c/sip_6.8.0
Update sip to v6.8.2
2024-01-24 23:35:57 -05:00
Scott Talbert
585463de38 Merge pull request #2520 from DietmarSchwertberger/ISSUE_2519
remove demo dependency on distutils; fixes issue 2519
2024-01-24 19:21:48 -05:00
Scott Talbert
0c48415436 Update sip to v6.8.2 2024-01-24 19:20:03 -05:00
DietmarSchwertberger
7e2c7d69c9 remove demo dependency on distutils; fixes issue 2519 2024-01-24 23:51:43 +01:00
Scott Talbert
08d879966e Merge pull request #2518 from reticulatus/ulc_check_parent
Add support for ULC_AUTO_CHECK_PARENT
2024-01-23 19:39:43 -05:00
richardt
1d06079da0 Add support for ULC_AUTO_CHECK_PARENT 2024-01-22 21:42:15 +00:00
Scott Talbert
15fe9aaab4 Merge pull request #2512 from rufuswilson/patch-1
Fixes DeleteButton function
2024-01-16 14:51:42 -05:00
rufuswilson
01ec11faca Fixes DeleteButton function
cf https://github.com/wxWidgets/Phoenix/issues/2511
2024-01-11 11:29:59 +01:00
Scott Talbert
0c54500045 Merge pull request #2508 from bnavigator/patch-1
TST: Integer division for randint() in makeRandomRectangles()
2024-01-10 19:40:25 -05:00
Ben Greiner
3b042c863f integer division for randint
Python 3.12 does not accept floats for random.randint() anymore
2024-01-06 21:58:29 +01:00
Scott Talbert
1f9b5f4996 Merge pull request #2502 from swt2c/fix_syntaxwarnings_python3.12
Fix additional SyntaxWarnings with Python 3.12
2023-12-21 20:23:36 -05:00
Scott Talbert
01787f43a5 Fix additional SyntaxWarnings with Python 3.12
It seems that Python 3.12 has started emitting additional SyntaxWarnings
in cases where there are backslashes used in strings, so change these
strings to raw strings to avoid the warnings.
2023-12-21 20:19:57 -05:00
Scott Talbert
26d1782514 Merge pull request #2500 from jmoraleda/AuiLayoutLastStepOfUpdate
wx.agw.aui. Do layout as the last step after all pane infos have recomputed their best sizes
2023-12-21 09:32:12 -05:00
Scott Talbert
a1755e8e65 Merge pull request #2501 from jmoraleda/CallAfterUpdateInAllPlatforms
wx.agw.aui: Make behavior in all platforms more equal
2023-12-21 09:31:06 -05:00
Jorge Moraleda
b683707909 wx.agw.aui. Do layout as the last step after all pane infos have recomputed their best sizes 2023-12-20 15:45:40 -05:00
Scott Talbert
525dd03245 Merge pull request #2460 from tmszi/fix-wx-agw-auimanager-bind-close-evt
wx.agw.aui: don't uninitialize the AuiManager if the window close event is vetoed
2023-12-18 16:28:59 -05:00
Scott Talbert
87674de980 Merge pull request #2494 from jmoraleda/agw-aui-preserve-icons-on-load-perspective
Preserve pane icons when loading a perspective in agw.aui
2023-12-07 22:59:22 -05:00
Scott Talbert
17aa9c901c Merge pull request #2487 from komoto48g/introspection-patch
Use unwrap before isbuiltin check
2023-12-06 19:00:50 -05:00
Scott Talbert
0b21230ee2 Merge pull request #2497 from swt2c/doxygen_1.9.7
Support building with Doxygen 1.9.7
2023-12-06 18:21:24 -05:00