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
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
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
79a60688ce
pnmimage: Support reading of .bmp files with RLE8 compression
2023-10-11 15:53:57 +02:00
rdb
d5263b597b
makepanda: Strip version suffixes when parsing setup.cfg metadata
...
Fixes #1539
2023-10-09 17:02:57 +02:00
rdb
a2fa54f385
gobj: fix _contexts != nullptr
assert when prepare fails
2023-10-09 16:52:45 +02:00
rdb
dcc96a60b1
makepanda: Make version parsing in CreatePandaVersionFiles more robust
2023-10-09 16:50:59 +02:00
rdb
27daecf030
Add .DS_Store to .gitignore
2023-09-16 09:52:55 +02:00
rdb
8596207d8e
directnotify: Don't assume presence of softspace attribute
2023-09-16 09:50:55 +02:00
rdb
144479d8e4
cocoa: squelch secure restorable state warning on macOS 14
2023-09-16 09:50:17 +02:00
rdb
0bc290eb2c
event: Replace _PyGen_FetchStopIterationValue in Python 3.13+
...
See python/cpython#106320 and python/cpython#107032
Closes #1526
2023-08-05 16:37:01 +02:00
rdb
a463f25d39
Update BACKERS.md
...
[skip ci]
2023-08-05 15:53:27 +02:00
rdb
360bf20933
dcparser: Fix segfault with nested struct or switch
...
Fixes #1499
2023-08-04 14:02:13 +02:00
rdb
c08353dea7
showbase: Don't disable Windows mesasge loop with multi-threaded pipeline
...
Fixes half of #1494
2023-08-04 13:52:11 +02:00
rdb
3160d7f3e9
py_panda: Don't use _PyUnicode_EqualToASCIIString in Python 3.13+
...
See #1523
2023-08-03 22:22:45 +02:00
rdb
3f3819e7fa
tests: Further expand on tools tests
2023-08-03 13:21:38 +02:00
rdb
4537540820
tests: Look for tools in proper location without relying on PATH
2023-08-02 16:45:40 +02:00
rdb
1cb2554c48
tests: Test that tools run when testing wheels
...
Intended to catch issues like #1504
2023-08-02 16:36:04 +02:00
rdb
8cbf93162a
cppparser: Backport enum scope fix to 1.10
...
From bc039a0476b31fa624ce548629b7e05cccd2d570
2023-08-02 12:40:37 +02:00
Aidan Noll
4097dc2e28
downloader: Fix issues with error codes with LibreSSL on Windows
...
Closes #1503
Co-authored-by: rdb <git@rdb.name>
2023-08-02 12:40:01 +02:00
rdb
262bde3082
grutil: Add clear_color method to CardMaker
2023-08-02 08:08:25 +02:00
rdb
9fd39e1aef
Add .idea to .gitignore
2023-08-02 07:56:24 +02:00
rdb
3c9aea1ee1
text: Fix missing epvector.h include in textAssembler.h
2023-08-02 07:51:46 +02:00
rdb
52c704f79d
Update BACKERS.md
...
[skip ci]
2023-07-21 19:42:07 +02:00
rdb
787e14fade
egg2pg: Fix infinite recursion when <Collide>
used with <Line>
...
Fixes #1515
2023-07-19 11:10:49 +02:00
rdb
94ebd7c953
pstats: Fix exception when __module__
is a descriptor
...
This comes up when using metaclasses
Fixes #1505
2023-06-12 09:54:25 +02:00
rdb
d4d4aefbce
makepackage: Force creating .dmg as HFS+ for 10.9 compatibility
...
Fixes #1502
[skip ci]
2023-06-08 13:47:33 +02:00
rdb
b79d8efce6
Don't use RTTI features when building with -fno-rtti
...
This should make it possible to use `-fno-rtti` in a C++ application even when Panda has been compiled with RTTI enabled.
2023-05-25 14:11:51 +02:00
rdb
d2e93cc185
gobj: Fix post_load_store_cache field being uninitialized on cycle
...
This is randomly causing textures to be downloaded, which can be a significant performance drain
2023-05-25 13:55:22 +02:00
rdb
3df594a6dd
dist: Add hidden import for shapely
...
[skip ci]
2023-05-08 19:50:21 +02:00
rdb
1072e6bf1a
dist: Show better error message when targeting outdated platform
...
This occurs if someone explicitly mentions eg. manylinux1 in their platforms list and then updates to Python 3.10
2023-05-08 18:30:25 +02:00
rdb
3f76f4aa70
dist: Strip out delvewheel patch from packaged Python code
...
Fixes #1492
2023-05-08 18:18:42 +02:00
rdb
4b276826b6
workflow: Update GitHub CI runner OS versions
2023-05-08 11:20:54 +02:00
rdb
c958919037
Make API documentation for Filename and VirtualFileSystem clearer
...
Mention specifically that Filename methods act on the physical disk whereas VirtualFileSystem methods act on the VFS
Fixes #1493
[skip ci]
2023-05-08 11:19:03 +02:00
max
cc74efa79a
Fix assorted instances of leftover Python 3 syntax
...
Closes #1490
2023-05-05 11:08:17 +02:00
rdb
5d833c988a
interrogate: Support explicit cls
parameter for static methods
2023-05-05 10:55:06 +02:00
rdb
45fbfab094
pgraph: Add file_version property to BamFile (like BamReader/Writer)
2023-05-05 10:52:46 +02:00
rdb
749e297a02
putil: Add file_version property to BamWriter (mirroring BamReader)
2023-05-05 10:51:24 +02:00
rdb
86804b3ed1
putil: Fix a faulty docstring in BamReader
2023-05-05 10:48:04 +02:00