rdb
a52744a973
cocoa: Improvements to VSync implementation:
...
- Use futex instead of condition var
- Prepare for adaptive sync support (#1553 )
- Support in tinydisplay
2023-10-21 15:05:44 +02:00
rdb
034f1ea358
patomic: Implement futexes on macOS using ulock API
...
This is what is also used by the libc++ futex implementation on macOS, and should be more efficient than the fallback hash table approach
2023-10-21 14:46:51 +02:00
rdb
78f8e1eaa9
test_wheel: Update set of packages to install with pip
...
setuptools is required because test_imports imports direct.dist.commands
[skip ci]
2023-10-16 00:26:40 +02:00
rdb
84020d4fb6
Require pytest >= 3.9.0 (due to use of tmp_path
)
2023-10-15 23:03:01 +02:00
rdb
277460061e
Merge branch 'release/1.10.x'
2023-10-15 23:02:47 +02:00
rdb
02e6487585
dist: Fix odd FreezeTool.addModule behavior with empty text
2023-10-15 22:58:00 +02:00
rdb
26fae21cb9
showbase: Suppress deprecation warning
2023-10-15 16:29:11 +02:00
rdb
3059f8f76b
tests: Add site.py file for deploy-stub test
2023-10-15 16:23:02 +02:00
rdb
cb7f25f59c
tests: Fix an issue running tests with some Python 3.4 setups
2023-10-15 16:21:30 +02:00
rdb
479774477b
tests: Compat w/ older pytest by using tmpdir instead of tmp_path
2023-10-15 14:48:01 +02:00
rdb
a0ea85d39e
test_wheel: Put python DLL on system PATH for FreezeTool unit test
2023-10-15 14:28:38 +02:00
rdb
00c6bee3f6
Add Python 3.12 to setup.cfg
2023-10-15 14:27:27 +02:00
rdb
ab0c177c79
showbase: Fix redundant call to entry_points()
in Loader
2023-10-15 14:26:56 +02:00
rdb
36bcfe7705
dist: Switch build_apps from pkg_resources to importlib.metadata
2023-10-15 13:51:36 +02:00
rdb
39e4e4167c
CMake: Switch use of distutils.sysconfig to sysconfig in Python 3.12
...
Part of #1395
2023-10-15 11:43:42 +02:00
rdb
c48fcba3d8
CMake: build tinydisplay using CMake
...
Based on work by @toadkarter (#1487 ) and @pmp-p (#1547 )
Fixes #1481
2023-10-15 11:34:47 +02:00
rdb
a6ab238abc
Merge branch 'release/1.10.x' into incoming
2023-10-14 21:35:00 +02:00
rdb
5e4fc7999e
Switch to 1.10.14 thirdparties, enable Python 3.12 CI on Windows
2023-10-14 21:25:42 +02:00
rdb
1db6dbc166
tests: Don't cache loaded test model
2023-10-14 21:24:22 +02:00
rdb
476374b814
tests: Don't run tkpanels.Placer test without Tk already inited
...
Necessary for being able to run test suite on macOS
2023-10-14 20:07:35 +02:00
rdb
87e69b71bf
workflow: Add $pythonLocation/lib
to LD_LIBRARY_PATH for tests
2023-10-14 19:38:22 +02:00
rdb
9dce403bee
tinydisplay: fix missing include in zmath.h
2023-10-14 18:05:47 +02:00
rdb
f9c213fcbb
tests: Run runtime executable generated by FreezeTool test
2023-10-14 17:35:16 +02:00
rdb
b2465c3b38
tests: Fix running tests on Windows and with Python 2.7
2023-10-14 17:31:35 +02:00
rdb
d368fac3e3
pstats: Update macOS timeline view to show more of collector name
...
Now shows the parent collector name if there's room and a single character if there's no room for anything more, just like the other implementations
2023-10-14 14:25:45 +02:00
rdb
10110cbfff
CMake: Build PStats port for macOS
2023-10-14 12:59:18 +02:00
rdb
98330b586f
Add setuptools to requirements-test.txt
2023-10-14 12:58:45 +02:00
rdb
972c0009ac
workflow: Add setuptools as requirement when testing Python 3.12
2023-10-14 11:29:02 +02:00
rdb
c1c035d5c9
showbase: Switch Loader entry point detection to importlib.metadata
...
Only in Python 3.8 and up, where this module is available, otherwise it falls back to pkg_resources
Add unit test for custom entry point loaders
2023-10-14 11:27:46 +02:00
rdb
c77697a2c0
pytest: Don't skip "dist" directory in test discovery
2023-10-14 09:55:51 +02:00
rdb
f24a18f45e
tests: Add unit test for Freezer.generateRuntimeFromStub
2023-10-14 09:55:37 +02:00
rdb
6f89b8e720
makepanda: Remove stray distutils import
2023-10-13 23:32:48 +02:00
rdb
e627c7c63d
particles: Fix deprecation warning
2023-10-13 23:30:21 +02:00
rdb
5b041474ff
glgsg: Fix wrong value for deprecated shadowMatrix shader input
2023-10-13 23:29:21 +02:00
rdb
e01cb590de
Merge branch 'release/1.10.x'
2023-10-13 23:24:48 +02:00
rdb
c45e14a563
interrogatedb: Switch T_OBJECT to T_OBJECT_EX for this_metatype
...
T_OBJECT has been deprecated.
2023-10-13 21:21:29 +02:00
WMOkiishi
098fe634a5
task: Annotate core functions ( #1548 )
2023-10-13 21:20:20 +02:00
rdb
bf456baa35
workflow: Skip Python 3.12 tests on Windows for now
...
Until we've added Python 3.12 to thirdparty packages
2023-10-13 13:35:40 +02:00
rdb
e4738194d5
pfreeze: use clang, fix missing path with non-system Python on macOS
2023-10-13 13:22:17 +02:00
rdb
2a5228b05f
Fix compatibility with Python 3.12 by removing use of imp module
...
Some modules (such as VFSImporter, and various modules in direct.p3d that depend on it) are still unavailable.
2023-10-13 13:21:34 +02:00
rdb
7f0eafcc27
workflow: Disable Python 3.7 CI, enable Python 3.12 CI
2023-10-13 12:10:08 +02:00
rdb
225b577ccd
tests: Skip Cg tests on arm64 machines
2023-10-13 10:55:17 +02:00
Mitchell Stokes
893f5ce492
Fix assert on Py_SIZE(long) when using Python 3.12
...
Starting with Python 3.12, passing a PyLong into Py_SIZE() triggers an
assertion. PyLong (and the whole C API) is transitioning to be more
opaque and expose fewer implementation details.
2023-10-13 10:54:33 +02:00
Mitchell Stokes
521cad206d
makepanda: Stop using deprecated distutils ( #1549 )
...
Just duplicating locations.py from direct. It's a bit ugly, but
makepanda is getting phased out anyways.
Co-authored-by: rdb <git@rdb.name>
2023-10-13 10:13:28 +02:00
David Crompton
ad8882123b
Panda3DToolsGUI: Update setup.py to use setuptools and change Print statements to Python3 syntax
2023-10-11 19:25:42 -07:00
rdb
5685949588
shader: Fix regression fetching material shader inputs
2023-10-11 16:07:55 +02:00
rdb
79a60688ce
pnmimage: Support reading of .bmp files with RLE8 compression
2023-10-11 15:53:57 +02:00
rdb
c00f3b18f5
direct: More reduction of reliance on builtins, mypy fixes
2023-10-11 11:07:56 +02:00
rdb
3922800aa4
tkpanels: Fix error running with Python 3.8
2023-10-11 10:26:56 +02:00
rdb
b6eee1045a
direct: Reduce dependence on builtins, satisfy mypy a bit more
2023-10-11 00:20:34 +02:00