Skip to content

Instantly share code, notes, and snippets.

@al3xtjames
Created July 5, 2025 21:52
Show Gist options
  • Save al3xtjames/9a97e8c0a62f99957b20ddbbd64b6fe4 to your computer and use it in GitHub Desktop.
Save al3xtjames/9a97e8c0a62f99957b20ddbbd64b6fe4 to your computer and use it in GitHub Desktop.
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing unittest-check-hook
Using unittestCheckPhase
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/r8y1gvnmbhj4bvppiv74fvdxr9cgrb1m-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/test/test_transformation.py"
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing setuptoolsBuildPhase
setup.py build flags: ''
/nix/store/29qm5bmldyzcj7lsvc87q6shp82qgr8j-python3.13-setuptools-80.7.1/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/beziers
copying beziers/quadraticbezier.py -> build/lib/beziers
copying beziers/affinetransformation.py -> build/lib/beziers
copying beziers/line.py -> build/lib/beziers
copying beziers/__init__.py -> build/lib/beziers
copying beziers/cubicbezier.py -> build/lib/beziers
copying beziers/boundingbox.py -> build/lib/beziers
copying beziers/point.py -> build/lib/beziers
copying beziers/segment.py -> build/lib/beziers
creating build/lib/beziers/path
copying beziers/path/__init__.py -> build/lib/beziers/path
copying beziers/path/geometricshapes.py -> build/lib/beziers/path
creating build/lib/beziers/utils
copying beziers/utils/intersectionsmixin.py -> build/lib/beziers/utils
copying beziers/utils/alphashape.py -> build/lib/beziers/utils
copying beziers/utils/curvefitter.py -> build/lib/beziers/utils
copying beziers/utils/booleanoperationsmixin.py -> build/lib/beziers/utils
copying beziers/utils/curvedistance.py -> build/lib/beziers/utils
copying beziers/utils/__init__.py -> build/lib/beziers/utils
copying beziers/utils/pens.py -> build/lib/beziers/utils
copying beziers/utils/linesweep.py -> build/lib/beziers/utils
copying beziers/utils/samplemixin.py -> build/lib/beziers/utils
copying beziers/utils/legendregauss.py -> build/lib/beziers/utils
copying beziers/utils/arclengthmixin.py -> build/lib/beziers/utils
creating build/lib/beziers/path/representations
copying beziers/path/representations/fontparts.py -> build/lib/beziers/path/representations
copying beziers/path/representations/GSPath.py -> build/lib/beziers/path/representations
copying beziers/path/representations/__init__.py -> build/lib/beziers/path/representations
copying beziers/path/representations/Nodelist.py -> build/lib/beziers/path/representations
copying beziers/path/representations/Segment.py -> build/lib/beziers/path/representations
/nix/store/29qm5bmldyzcj7lsvc87q6shp82qgr8j-python3.13-setuptools-80.7.1/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
By 2025-Oct-31, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
installing to build/bdist.macosx-11.3-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-11.3-arm64/wheel
creating build/bdist.macosx-11.3-arm64/wheel/beziers
copying build/lib/beziers/quadraticbezier.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
copying build/lib/beziers/affinetransformation.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
creating build/bdist.macosx-11.3-arm64/wheel/beziers/path
creating build/bdist.macosx-11.3-arm64/wheel/beziers/path/representations
copying build/lib/beziers/path/representations/fontparts.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path/representations
copying build/lib/beziers/path/representations/GSPath.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path/representations
copying build/lib/beziers/path/representations/__init__.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path/representations
copying build/lib/beziers/path/representations/Nodelist.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path/representations
copying build/lib/beziers/path/representations/Segment.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path/representations
copying build/lib/beziers/path/__init__.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path
copying build/lib/beziers/path/geometricshapes.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path
copying build/lib/beziers/line.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
copying build/lib/beziers/__init__.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
copying build/lib/beziers/cubicbezier.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
creating build/bdist.macosx-11.3-arm64/wheel/beziers/utils
copying build/lib/beziers/utils/intersectionsmixin.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/alphashape.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/curvefitter.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/booleanoperationsmixin.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/curvedistance.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/__init__.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/pens.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/linesweep.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/samplemixin.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/legendregauss.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/arclengthmixin.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/boundingbox.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
copying build/lib/beziers/point.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
copying build/lib/beziers/segment.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
running install_egg_info
running egg_info
creating beziers.egg-info
writing beziers.egg-info/PKG-INFO
writing dependency_links to beziers.egg-info/dependency_links.txt
writing requirements to beziers.egg-info/requires.txt
writing top-level names to beziers.egg-info/top_level.txt
writing manifest file 'beziers.egg-info/SOURCES.txt'
reading manifest file 'beziers.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'beziers.egg-info/SOURCES.txt'
Copying beziers.egg-info to build/bdist.macosx-11.3-arm64/wheel/./beziers-0.6.0-py3.13.egg-info
running install_scripts
creating build/bdist.macosx-11.3-arm64/wheel/beziers-0.6.0.dist-info/WHEEL
creating 'dist/beziers-0.6.0-py3-none-any.whl' and adding 'build/bdist.macosx-11.3-arm64/wheel' to it
adding 'beziers/__init__.py'
adding 'beziers/affinetransformation.py'
adding 'beziers/boundingbox.py'
adding 'beziers/cubicbezier.py'
adding 'beziers/line.py'
adding 'beziers/point.py'
adding 'beziers/quadraticbezier.py'
adding 'beziers/segment.py'
adding 'beziers/path/__init__.py'
adding 'beziers/path/geometricshapes.py'
adding 'beziers/path/representations/GSPath.py'
adding 'beziers/path/representations/Nodelist.py'
adding 'beziers/path/representations/Segment.py'
adding 'beziers/path/representations/__init__.py'
adding 'beziers/path/representations/fontparts.py'
adding 'beziers/utils/__init__.py'
adding 'beziers/utils/alphashape.py'
adding 'beziers/utils/arclengthmixin.py'
adding 'beziers/utils/booleanoperationsmixin.py'
adding 'beziers/utils/curvedistance.py'
adding 'beziers/utils/curvefitter.py'
adding 'beziers/utils/intersectionsmixin.py'
adding 'beziers/utils/legendregauss.py'
adding 'beziers/utils/linesweep.py'
adding 'beziers/utils/pens.py'
adding 'beziers/utils/samplemixin.py'
adding 'beziers-0.6.0.dist-info/licenses/LICENSE'
adding 'beziers-0.6.0.dist-info/METADATA'
adding 'beziers-0.6.0.dist-info/WHEEL'
adding 'beziers-0.6.0.dist-info/top_level.txt'
adding 'beziers-0.6.0.dist-info/RECORD'
removing build/bdist.macosx-11.3-arm64/wheel
Finished executing setuptoolsBuildPhase
Running phase: installPhase
@nix { "action": "setPhase", "phase": "installPhase" }
Executing pypaInstallPhase
Successfully installed beziers-0.6.0-py3-none-any.whl
Finished executing pypaInstallPhase
Running phase: pythonOutputDistPhase
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" }
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
Running phase: fixupPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
checking for references to /private/tmp/nix-build-python3.13-beziers-0.6.0.drv-0/ in /nix/store/67gvybkwkjb3ziyp0b2rp0zxx5xksj6d-python3.13-beziers-0.6.0...
patching script interpreter paths in /nix/store/67gvybkwkjb3ziyp0b2rp0zxx5xksj6d-python3.13-beziers-0.6.0
stripping (with command strip and flags -S) in /nix/store/67gvybkwkjb3ziyp0b2rp0zxx5xksj6d-python3.13-beziers-0.6.0/lib
checking for references to /private/tmp/nix-build-python3.13-beziers-0.6.0.drv-0/ in /nix/store/18b9571rxp6nm9jhmmiz3fhhy63rw41q-python3.13-beziers-0.6.0-dist...
patching script interpreter paths in /nix/store/18b9571rxp6nm9jhmmiz3fhhy63rw41q-python3.13-beziers-0.6.0-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
Running phase: installCheckPhase
@nix { "action": "setPhase", "phase": "installCheckPhase" }
no Makefile or custom installCheckPhase, doing nothing
Running phase: pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
Running phase: pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
Running phase: pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
Executing pythonImportsCheckPhase
Running phase: unittestCheckPhase
@nix { "action": "setPhase", "phase": "unittestCheckPhase" }
Executing unittestCheckPhase
unittest flags: -s test -v
test_cubicLength (test_arclength.ArcLengthMethods.test_cubicLength) ... ok
test_quadraticLength (test_arclength.ArcLengthMethods.test_quadraticLength) ... ok
test_overlap (test_bounds.BBoxMethods.test_overlap) ... BB[<5.0,5.0> -> <10.0,10.0>] v BB[<7.0,7.0> -> <14.0,14.0>]
ok
test_quadratic_bounds (test_bounds.BBoxMethods.test_quadratic_bounds) ... ok
test_corners (test_corners.CornerMethods.test_corners) ... -154.5367101948987 -154.76247626989087
30.329096886578093 86.46047174660555
-25.11484386630958 -120.61864853780057
ok
test_align (test_cubic.CubicMethods.test_align) ... ok
test_curvature (test_cubic.CubicMethods.test_curvature) ... ok
test_extremes (test_cubic.CubicMethods.test_extremes) ... ok
test_length (test_cubic.CubicMethods.test_length) ... ok
test_loop (test_cubic.CubicMethods.test_loop) ... ok
test_cf1 (test_curvefit.CurveFitterMethods.test_cf1) ... ok
test_cf2 (test_curvefit.CurveFitterMethods.test_cf2) ... ok
test_distance (test_distance.DistanceMethods.test_distance) ... ok
test_distance2 (test_distance.DistanceMethods.test_distance2) ... ok
test_cubic_cubic (test_intersections.IntersectionMethods.test_cubic_cubic) ... mkdir -p failed for path /homeless-shelter/.matplotlib: [Errno 1] Operation not permitted: '/homeless-shelter'
Matplotlib created a temporary cache directory at /private/tmp/nix-build-python3.13-beziers-0.6.0.drv-0/matplotlib-witl2q6n because there was an issue with the default path (/homeless-shelter/.matplotlib); it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Critical error: required built-in appearance SystemAppearance not found'
*** First throw call stack:
(
0 CoreFoundation 0x00000001897e6ca0 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x00000001892aab90 objc_exception_throw + 88
2 CoreFoundation 0x00000001897e6b90 +[NSException exceptionWithName:reason:userInfo:] + 0
3 AppKit 0x000000018d66a52c __33+[NSAppearance _initializeCoreUI]_block_invoke + 88
4 libdispatch.dylib 0x00000001894ec85c _dispatch_client_callout + 16
5 libdispatch.dylib 0x00000001894d5a28 _dispatch_once_callout + 32
6 AppKit 0x000000018d68b1f0 +[NSAppearance _aquaAppearance] + 60
7 AppKit 0x000000018d669c94 +[NSAppearance appearanceNamed:] + 32
8 AppKit 0x000000018d6692e4 -[NSSystemAppearanceProxy init] + 124
9 AppKit 0x000000018d669258 __38+[NSSystemAppearanceProxy systemProxy]_block_invoke + 24
10 libdispatch.dylib 0x00000001894ec85c _dispatch_client_callout + 16
11 libdispatch.dylib 0x00000001894d5a28 _dispatch_once_callout + 32
12 AppKit 0x000000018d669234 +[NSSystemAppearanceProxy systemProxy] + 60
13 AppKit 0x000000018d6691c4 -[NSApplication(NSApplicationAppearance_Internal) _registerForAppearanceNotifications] + 32
14 AppKit 0x000000018d666e1c -[NSApplication init] + 908
15 AppKit 0x000000018d6668c4 +[NSApplication sharedApplication] + 128
16 _macosx.cpython-313-darwin.so 0x000000010653eda8 FigureCanvas_new + 60
17 libpython3.13.dylib 0x0000000100a3b8a0 type_call + 84
18 libpython3.13.dylib 0x000000010097be2c _PyObject_MakeTpCall + 380
19 libpython3.13.dylib 0x0000000100b2cd1c _PyEval_EvalFrameDefault + 28012
20 libpython3.13.dylib 0x00000001009809f8 method_vectorcall + 180
21 libpython3.13.dylib 0x000000010097c7c4 _PyVectorcall_Call + 136
22 libpython3.13.dylib 0x0000000100b2d744 _PyEval_EvalFrameDefault + 30612
23 libpython3.13.dylib 0x0000000100980bac method_vectorcall + 616
24 libpython3.13.dylib 0x0000000100b2d744 _PyEval_EvalFrameDefault + 30612
25 libpython3.13.dylib 0x000000010097bb74 _PyObject_VectorcallDictTstate + 376
26 libpython3.13.dylib 0x0000000100a458f8 slot_tp_call + 340
27 libpython3.13.dylib 0x000000010097be2c _PyObject_MakeTpCall + 380
28 libpython3.13.dylib 0x0000000100b2820c _PyEval_EvalFrameDefault + 8796
29 libpython3.13.dylib 0x0000000100980bac method_vectorcall + 616
30 libpython3.13.dylib 0x0000000100b2d744 _PyEval_EvalFrameDefault + 30612
31 libpython3.13.dylib 0x000000010097bb74 _PyObject_VectorcallDictTstate + 376
32 libpython3.13.dylib 0x0000000100a458f8 slot_tp_call + 340
33 libpython3.13.dylib 0x000000010097be2c _PyObject_MakeTpCall + 380
34 libpython3.13.dylib 0x0000000100b2820c _PyEval_EvalFrameDefault + 8796
35 libpython3.13.dylib 0x0000000100980bac method_vectorcall + 616
36 libpython3.13.dylib 0x0000000100b2d744 _PyEval_EvalFrameDefault + 30612
37 libpython3.13.dylib 0x000000010097bb74 _PyObject_VectorcallDictTstate + 376
38 libpython3.13.dylib 0x0000000100a458f8 slot_tp_call + 340
39 libpython3.13.dylib 0x000000010097be2c _PyObject_MakeTpCall + 380
40 libpython3.13.dylib 0x0000000100b2820c _PyEval_EvalFrameDefault + 8796
41 libpython3.13.dylib 0x0000000100980bac method_vectorcall + 616
42 libpython3.13.dylib 0x0000000100b2d744 _PyEval_EvalFrameDefault + 30612
43 libpython3.13.dylib 0x000000010097bb74 _PyObject_VectorcallDictTstate + 376
44 libpython3.13.dylib 0x0000000100a458f8 slot_tp_call + 340
45 libpython3.13.dylib 0x000000010097be2c _PyObject_MakeTpCall + 380
46 libpython3.13.dylib 0x0000000100b2cd1c _PyEval_EvalFrameDefault + 28012
47 libpython3.13.dylib 0x000000010097baa0 _PyObject_VectorcallDictTstate + 164
48 libpython3.13.dylib 0x0000000100a479e8 slot_tp_init + 360
49 libpython3.13.dylib 0x0000000100a3bac8 type_call + 636
50 libpython3.13.dylib 0x000000010097be2c _PyObject_MakeTpCall + 380
51 libpython3.13.dylib 0x0000000100b2f084 _PyEval_EvalFrameDefault + 37076
52 libpython3.13.dylib 0x0000000100b25d70 PyEval_EvalCode + 308
53 libpython3.13.dylib 0x0000000100b2077c builtin_exec + 1908
54 libpython3.13.dylib 0x00000001009fc7e8 cfunction_vectorcall_FASTCALL_KEYWORDS + 148
55 libpython3.13.dylib 0x000000010097c9d0 PyObject_Vectorcall + 92
56 libpython3.13.dylib 0x0000000100b2cd1c _PyEval_EvalFrameDefault + 28012
57 libpython3.13.dylib 0x0000000100bfc74c pymain_run_module + 292
58 libpython3.13.dylib 0x0000000100bfc058 Py_RunMain + 2632
59 libpython3.13.dylib 0x0000000100bfc4ec pymain_main + 584
60 libpython3.13.dylib 0x0000000100bfc5f4 Py_BytesMain + 56
61 dyld 0x00000001892eab98 start + 6076
)
libc++abi: terminating due to uncaught exception of type NSException
/nix/store/rs4nl6637achdrs2vcq7y1kvv7wkqrg6-unittest-check-hook/nix-support/setup-hook: line 6: 2006 Abort trap: 6 /nix/store/j7srs1qjy3pxv9ldhkw84yin7274ffp7-python3-3.13.4/bin/python3.13 -m unittest discover "${flagsArray[@]}"
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing unittest-check-hook
Using unittestCheckPhase
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/r8y1gvnmbhj4bvppiv74fvdxr9cgrb1m-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/test/test_transformation.py"
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing setuptoolsBuildPhase
setup.py build flags: ''
/nix/store/29qm5bmldyzcj7lsvc87q6shp82qgr8j-python3.13-setuptools-80.7.1/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/beziers
copying beziers/quadraticbezier.py -> build/lib/beziers
copying beziers/affinetransformation.py -> build/lib/beziers
copying beziers/line.py -> build/lib/beziers
copying beziers/__init__.py -> build/lib/beziers
copying beziers/cubicbezier.py -> build/lib/beziers
copying beziers/boundingbox.py -> build/lib/beziers
copying beziers/point.py -> build/lib/beziers
copying beziers/segment.py -> build/lib/beziers
creating build/lib/beziers/path
copying beziers/path/__init__.py -> build/lib/beziers/path
copying beziers/path/geometricshapes.py -> build/lib/beziers/path
creating build/lib/beziers/utils
copying beziers/utils/intersectionsmixin.py -> build/lib/beziers/utils
copying beziers/utils/alphashape.py -> build/lib/beziers/utils
copying beziers/utils/curvefitter.py -> build/lib/beziers/utils
copying beziers/utils/booleanoperationsmixin.py -> build/lib/beziers/utils
copying beziers/utils/curvedistance.py -> build/lib/beziers/utils
copying beziers/utils/__init__.py -> build/lib/beziers/utils
copying beziers/utils/pens.py -> build/lib/beziers/utils
copying beziers/utils/linesweep.py -> build/lib/beziers/utils
copying beziers/utils/samplemixin.py -> build/lib/beziers/utils
copying beziers/utils/legendregauss.py -> build/lib/beziers/utils
copying beziers/utils/arclengthmixin.py -> build/lib/beziers/utils
creating build/lib/beziers/path/representations
copying beziers/path/representations/fontparts.py -> build/lib/beziers/path/representations
copying beziers/path/representations/GSPath.py -> build/lib/beziers/path/representations
copying beziers/path/representations/__init__.py -> build/lib/beziers/path/representations
copying beziers/path/representations/Nodelist.py -> build/lib/beziers/path/representations
copying beziers/path/representations/Segment.py -> build/lib/beziers/path/representations
/nix/store/29qm5bmldyzcj7lsvc87q6shp82qgr8j-python3.13-setuptools-80.7.1/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
By 2025-Oct-31, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
installing to build/bdist.macosx-11.3-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-11.3-arm64/wheel
creating build/bdist.macosx-11.3-arm64/wheel/beziers
copying build/lib/beziers/quadraticbezier.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
copying build/lib/beziers/affinetransformation.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
creating build/bdist.macosx-11.3-arm64/wheel/beziers/path
creating build/bdist.macosx-11.3-arm64/wheel/beziers/path/representations
copying build/lib/beziers/path/representations/fontparts.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path/representations
copying build/lib/beziers/path/representations/GSPath.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path/representations
copying build/lib/beziers/path/representations/__init__.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path/representations
copying build/lib/beziers/path/representations/Nodelist.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path/representations
copying build/lib/beziers/path/representations/Segment.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path/representations
copying build/lib/beziers/path/__init__.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path
copying build/lib/beziers/path/geometricshapes.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/path
copying build/lib/beziers/line.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
copying build/lib/beziers/__init__.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
copying build/lib/beziers/cubicbezier.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
creating build/bdist.macosx-11.3-arm64/wheel/beziers/utils
copying build/lib/beziers/utils/intersectionsmixin.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/alphashape.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/curvefitter.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/booleanoperationsmixin.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/curvedistance.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/__init__.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/pens.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/linesweep.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/samplemixin.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/legendregauss.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/utils/arclengthmixin.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers/utils
copying build/lib/beziers/boundingbox.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
copying build/lib/beziers/point.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
copying build/lib/beziers/segment.py -> build/bdist.macosx-11.3-arm64/wheel/./beziers
running install_egg_info
running egg_info
creating beziers.egg-info
writing beziers.egg-info/PKG-INFO
writing dependency_links to beziers.egg-info/dependency_links.txt
writing requirements to beziers.egg-info/requires.txt
writing top-level names to beziers.egg-info/top_level.txt
writing manifest file 'beziers.egg-info/SOURCES.txt'
reading manifest file 'beziers.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'beziers.egg-info/SOURCES.txt'
Copying beziers.egg-info to build/bdist.macosx-11.3-arm64/wheel/./beziers-0.6.0-py3.13.egg-info
running install_scripts
creating build/bdist.macosx-11.3-arm64/wheel/beziers-0.6.0.dist-info/WHEEL
creating 'dist/beziers-0.6.0-py3-none-any.whl' and adding 'build/bdist.macosx-11.3-arm64/wheel' to it
adding 'beziers/__init__.py'
adding 'beziers/affinetransformation.py'
adding 'beziers/boundingbox.py'
adding 'beziers/cubicbezier.py'
adding 'beziers/line.py'
adding 'beziers/point.py'
adding 'beziers/quadraticbezier.py'
adding 'beziers/segment.py'
adding 'beziers/path/__init__.py'
adding 'beziers/path/geometricshapes.py'
adding 'beziers/path/representations/GSPath.py'
adding 'beziers/path/representations/Nodelist.py'
adding 'beziers/path/representations/Segment.py'
adding 'beziers/path/representations/__init__.py'
adding 'beziers/path/representations/fontparts.py'
adding 'beziers/utils/__init__.py'
adding 'beziers/utils/alphashape.py'
adding 'beziers/utils/arclengthmixin.py'
adding 'beziers/utils/booleanoperationsmixin.py'
adding 'beziers/utils/curvedistance.py'
adding 'beziers/utils/curvefitter.py'
adding 'beziers/utils/intersectionsmixin.py'
adding 'beziers/utils/legendregauss.py'
adding 'beziers/utils/linesweep.py'
adding 'beziers/utils/pens.py'
adding 'beziers/utils/samplemixin.py'
adding 'beziers-0.6.0.dist-info/licenses/LICENSE'
adding 'beziers-0.6.0.dist-info/METADATA'
adding 'beziers-0.6.0.dist-info/WHEEL'
adding 'beziers-0.6.0.dist-info/top_level.txt'
adding 'beziers-0.6.0.dist-info/RECORD'
removing build/bdist.macosx-11.3-arm64/wheel
Finished executing setuptoolsBuildPhase
Running phase: installPhase
@nix { "action": "setPhase", "phase": "installPhase" }
Executing pypaInstallPhase
Successfully installed beziers-0.6.0-py3-none-any.whl
Finished executing pypaInstallPhase
Running phase: pythonOutputDistPhase
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" }
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
Running phase: fixupPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
checking for references to /private/tmp/nix-build-python3.13-beziers-0.6.0.drv-0/ in /nix/store/rvxl1y14l2hxqy6is9i2x09wr40f303h-python3.13-beziers-0.6.0...
patching script interpreter paths in /nix/store/rvxl1y14l2hxqy6is9i2x09wr40f303h-python3.13-beziers-0.6.0
stripping (with command strip and flags -S) in /nix/store/rvxl1y14l2hxqy6is9i2x09wr40f303h-python3.13-beziers-0.6.0/lib
checking for references to /private/tmp/nix-build-python3.13-beziers-0.6.0.drv-0/ in /nix/store/6v6axm0x84xyap9az3gpd82s4ra3sm3h-python3.13-beziers-0.6.0-dist...
patching script interpreter paths in /nix/store/6v6axm0x84xyap9az3gpd82s4ra3sm3h-python3.13-beziers-0.6.0-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
Running phase: installCheckPhase
@nix { "action": "setPhase", "phase": "installCheckPhase" }
no Makefile or custom installCheckPhase, doing nothing
Running phase: pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
Running phase: pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
Running phase: pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
Executing pythonImportsCheckPhase
Running phase: unittestCheckPhase
@nix { "action": "setPhase", "phase": "unittestCheckPhase" }
Executing unittestCheckPhase
unittest flags: -s test -v
test_cubicLength (test_arclength.ArcLengthMethods.test_cubicLength) ... ok
test_quadraticLength (test_arclength.ArcLengthMethods.test_quadraticLength) ... ok
test_overlap (test_bounds.BBoxMethods.test_overlap) ... BB[<5.0,5.0> -> <10.0,10.0>] v BB[<7.0,7.0> -> <14.0,14.0>]
ok
test_quadratic_bounds (test_bounds.BBoxMethods.test_quadratic_bounds) ... ok
test_corners (test_corners.CornerMethods.test_corners) ... -154.5367101948987 -154.76247626989087
30.329096886578093 86.46047174660555
-25.11484386630958 -120.61864853780057
ok
test_align (test_cubic.CubicMethods.test_align) ... ok
test_curvature (test_cubic.CubicMethods.test_curvature) ... ok
test_extremes (test_cubic.CubicMethods.test_extremes) ... ok
test_length (test_cubic.CubicMethods.test_length) ... ok
test_loop (test_cubic.CubicMethods.test_loop) ... ok
test_cf1 (test_curvefit.CurveFitterMethods.test_cf1) ... ok
test_cf2 (test_curvefit.CurveFitterMethods.test_cf2) ... ok
test_distance (test_distance.DistanceMethods.test_distance) ... ok
test_distance2 (test_distance.DistanceMethods.test_distance2) ... ok
test_cubic_cubic (test_intersections.IntersectionMethods.test_cubic_cubic) ... mkdir -p failed for path /homeless-shelter/.matplotlib: [Errno 1] Operation not permitted: '/homeless-shelter'
Matplotlib created a temporary cache directory at /private/tmp/nix-build-python3.13-beziers-0.6.0.drv-0/matplotlib-g7g3oq_i because there was an issue with the default path (/homeless-shelter/.matplotlib); it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
2025-07-05 21:51:27.718 python3.13[92070:28966921] CoreText: System LastResort not available, using built-in copy.
ERROR
test_cubic_line (test_intersections.IntersectionMethods.test_cubic_line) ... ok
test_cubic_line_2 (test_intersections.IntersectionMethods.test_cubic_line_2) ... ok
test_cubic_line_3 (test_intersections.IntersectionMethods.test_cubic_line_3) ... ok
test_cubic_line_4 (test_intersections.IntersectionMethods.test_cubic_line_4) ... ok
test_line_line (test_intersections.IntersectionMethods.test_line_line) ... ok
test_intercept (test_line.LineMethods.test_intercept) ... ok
test_slope (test_line.LineMethods.test_slope) ... ok
test_addextremes (test_path.PathTests.test_addextremes) ... ok
test_area (test_path.PathTests.test_area) ... ok
test_inside (test_path.PathTests.test_inside) ... ok
test_overlap (test_path.PathTests.test_overlap) ... ok
test_splitatpoints (test_path.PathTests.test_splitatpoints) ... ok
test_extremes (test_quadratic.QuadraticMethods.test_extremes) ... ok
test_extremes2 (test_quadratic.QuadraticMethods.test_extremes2) ... ok
test_extremes3 (test_quadratic.QuadraticMethods.test_extremes3) ... ok
test_extremes4 (test_quadratic.QuadraticMethods.test_extremes4) ... ok
test_split (test_quadratic.QuadraticMethods.test_split) ... ok
test_multiple_application (test_transformation.AffineTransformationMethods.test_multiple_application) ... ok
test_scale (test_transformation.AffineTransformationMethods.test_scale) ... ok
test_translate (test_transformation.AffineTransformationMethods.test_translate) ... ok
======================================================================
ERROR: test_cubic_cubic (test_intersections.IntersectionMethods.test_cubic_cubic)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/private/tmp/nix-build-python3.13-beziers-0.6.0.drv-0/source/test/test_intersections.py", line 63, in test_cubic_cubic
fig, ax = plt.subplots()
~~~~~~~~~~~~^^
File "/nix/store/8gp9ml4pr0pcbcwgh7yirv6gl5wxp56w-python3.13-matplotlib-3.10.3/lib/python3.13/site-packages/matplotlib/pyplot.py", line 1777, in subplots
fig = figure(**fig_kw)
File "/nix/store/8gp9ml4pr0pcbcwgh7yirv6gl5wxp56w-python3.13-matplotlib-3.10.3/lib/python3.13/site-packages/matplotlib/pyplot.py", line 1042, in figure
manager = new_figure_manager(
num, figsize=figsize, dpi=dpi,
facecolor=facecolor, edgecolor=edgecolor, frameon=frameon,
FigureClass=FigureClass, **kwargs)
File "/nix/store/8gp9ml4pr0pcbcwgh7yirv6gl5wxp56w-python3.13-matplotlib-3.10.3/lib/python3.13/site-packages/matplotlib/pyplot.py", line 552, in new_figure_manager
return _get_backend_mod().new_figure_manager(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/nix/store/8gp9ml4pr0pcbcwgh7yirv6gl5wxp56w-python3.13-matplotlib-3.10.3/lib/python3.13/site-packages/matplotlib/backend_bases.py", line 3502, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/nix/store/8gp9ml4pr0pcbcwgh7yirv6gl5wxp56w-python3.13-matplotlib-3.10.3/lib/python3.13/site-packages/matplotlib/backend_bases.py", line 3507, in new_figure_manager_given_figure
return cls.FigureCanvas.new_manager(figure, num)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/nix/store/8gp9ml4pr0pcbcwgh7yirv6gl5wxp56w-python3.13-matplotlib-3.10.3/lib/python3.13/site-packages/matplotlib/backend_bases.py", line 1783, in new_manager
return cls.manager_class.create_with_canvas(cls, figure, num)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/nix/store/8gp9ml4pr0pcbcwgh7yirv6gl5wxp56w-python3.13-matplotlib-3.10.3/lib/python3.13/site-packages/matplotlib/backend_bases.py", line 2654, in create_with_canvas
return cls(canvas_class(figure), num)
File "/nix/store/8gp9ml4pr0pcbcwgh7yirv6gl5wxp56w-python3.13-matplotlib-3.10.3/lib/python3.13/site-packages/matplotlib/backends/backend_macosx.py", line 155, in __init__
_macosx.FigureManager.set_icon(icon_path)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
RuntimeError: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
----------------------------------------------------------------------
Ran 35 tests in 0.550s
FAILED (errors=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment