Package Details: python-ezdxf 1.3.3-1

Git Clone URL: https://aur.archlinux.org/python-ezdxf.git (read-only, click to copy)
Package Base: python-ezdxf
Description: Python interface to DXF
Upstream URL: https://ezdxf.mozman.at/
Licenses: MIT
Submitter: sasvari
Maintainer: greyltc
Last Packager: greyltc
Votes: 4
Popularity: 0.000000
First Submitted: 2017-06-05 15:55 (UTC)
Last Updated: 2024-09-30 17:37 (UTC)

Latest Comments

bloeher commented on 2024-04-11 05:11 (UTC)

I had to add "/refs/tags" to the source URL to properly get the source.

tapia commented on 2023-11-19 21:14 (UTC)

I am getting the same error as fow0ryl. I think that the problem lies with the dependency "python-nurbs" not being compatible with the newest versions of numpy (see [1]). This makes the check fail.

[1] https://github.com/orbingol/NURBS-Python/pull/163

fow0ryl commented on 2023-06-28 06:37 (UTC)

Got this "module missing" error:

ezdxf/math/bspline.py:1208: ModuleNotFoundError
======================================================================================================== short test summary info =========================================================================================================
FAILED ../tests/test_06_math/test_621_bspline.py::TestNurbsPythonCorrectness::test_point_calculation_is_correct[degree=1] - ModuleNotFoundError: No module named 'geomdl'
FAILED ../tests/test_06_math/test_621_bspline.py::TestNurbsPythonCorrectness::test_point_calculation_is_correct[degree=2] - ModuleNotFoundError: No module named 'geomdl'
FAILED ../tests/test_06_math/test_621_bspline.py::TestNurbsPythonCorrectness::test_point_calculation_is_correct[degree=3] - ModuleNotFoundError: No module named 'geomdl'
FAILED ../tests/test_06_math/test_621_bspline.py::TestNurbsPythonCorrectness::test_derivative_calculation_is_correct - ModuleNotFoundError: No module named 'geomdl'
FAILED ../tests/test_06_math/test_623_rbspline.py::test_rational_spline_curve_points_by_nurbs_python - ModuleNotFoundError: No module named 'geomdl'
FAILED ../tests/test_06_math/test_623_rbspline.py::test_rational_spline_derivatives_by_nurbs_python - ModuleNotFoundError: No module named 'geomdl'
FAILED ../tests/test_06_math/test_649_nurbs_python_interface.py::test_from_nurbs_python_curve_to_ezdxf_bspline - ModuleNotFoundError: No module named 'geomdl'
FAILED ../tests/test_06_math/test_649_nurbs_python_interface.py::test_from_ezdxf_bspline_to_nurbs_python_curve_non_rational - ModuleNotFoundError: No module named 'geomdl'
FAILED ../tests/test_06_math/test_649_nurbs_python_interface.py::test_from_ezdxf_bspline_to_nurbs_python_curve_rational - ModuleNotFoundError: No module named 'geomdl'

sdp8483 commented on 2023-04-30 17:22 (UTC)

I get the following error during build FileNotFoundError: [Errno 2] No such file or directory: 'ezdxf' This is from /integration_tests/test_launcher.py

I removed the file and then built the package with makepkg -sei where the e option does not extract the source files. This is probably not the best way but it works for me and I needed this package to get flatcam-qt6 working ASAP.

Lehmeier commented on 2023-01-15 17:51 (UTC)

Version 1.0.1b1-1 always terminates

../tests/test_08_addons/test_814_text2path.py:421: AssertionError __ TestMakePathsFromEntity.testrotation_90[get_paths_bbox] ___

self = <test_814_text2path.TestMakePathsFromEntity object at 0x7f5be8e259f0> get_bbox = <function get_paths_bbox at 0x7f5be8e7b880>

def test_rotation_90(self, get_bbox):
    # Horizontal reference measurements:
    bbox_hor = get_bbox(
        make_text("TEXT", (7, 7), TextEntityAlignment.MIDDLE_CENTER)
    )

    text_vert = make_text(
        "TEXT", (7, 7), TextEntityAlignment.MIDDLE_CENTER, rotation=90
    )
    bbox_vert = get_bbox(text_vert)
  assert bbox_hor.center == bbox_vert.center

E assert Vec3(7.0, 6.857890625, 0.0) == Vec3(7.142109375, 7.0, 0.0) E Use -v to get more diff

../tests/test_08_addons/test_814_text2path.py:421: AssertionError _ TestMakePathsFromEntity.testrotation_90[get_hatches_bbox] __

self = <test_814_text2path.TestMakePathsFromEntity object at 0x7f5be8e25750> get_bbox = <function get_hatches_bbox at 0x7f5be8e7b910>

def test_rotation_90(self, get_bbox):
    # Horizontal reference measurements:
    bbox_hor = get_bbox(
        make_text("TEXT", (7, 7), TextEntityAlignment.MIDDLE_CENTER)
    )

    text_vert = make_text(
        "TEXT", (7, 7), TextEntityAlignment.MIDDLE_CENTER, rotation=90
    )
    bbox_vert = get_bbox(text_vert)
  assert bbox_hor.center == bbox_vert.center

E assert Vec3(7.0, 6.857890625, 0.0) == Vec3(7.142109375, 7.0, 0.0) E Use -v to get more diff

../tests/test_08_addons/test_814_text2path.py:421: AssertionError =============================== warnings summary =============================== integration_tests/test_drawing_matplotlib_backend.py::test_get_text_width /usr/lib/python3.10/site-packages/matplotlib/backends/backend_qt.py:136: DeprecationWarning: Enum value 'Qt::ApplicationAttribute.AA_EnableHighDpiScaling' is marked as deprecated, please check the documentation for more information. QtWidgets.QApplication.setAttribute(

integration_tests/test_drawing_matplotlib_backend.py::test_get_text_width /usr/lib/python3.10/site-packages/matplotlib/backends/backend_qt.py:154: DeprecationWarning: Enum value 'Qt::ApplicationAttribute.AA_UseHighDpiPixmaps' is marked as deprecated, please check the documentation for more information. app.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps) # Only for Qt<6.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED ../tests/test_07_render/test_708d_qpainter_path_tools.py::TestFromQPainterPath::test_line_to FAILED ../tests/test_07_render/test_708d_qpainter_path_tools.py::TestFromQPainterPath::test_cubic_to FAILED ../tests/test_07_render/test_708d_qpainter_path_tools.py::TestFromQPainterPath::test_two_lines FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_text_path_height_for_exact_drawing_units[0.05] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_text_path_height_for_exact_drawing_units[1] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_text_path_height_for_exact_drawing_units[2] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_text_path_height_for_exact_drawing_units[100] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_text_path_height_for_exact_drawing_units[-1] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_text_path_height_for_exact_drawing_units[-2] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_text_path_height_for_exact_drawing_units[-100] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_path_coordinates_for_positive_size[0.05] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_path_coordinates_for_positive_size[1] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_path_coordinates_for_positive_size[2] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_path_coordinates_for_positive_size[100] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_path_coordinates_for_negative_size[-0.05] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_path_coordinates_for_negative_size[-1] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_path_coordinates_for_negative_size[-2] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_path_coordinates_for_negative_size[-100] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_length_for_fit_alignment[0.05] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_length_for_fit_alignment[1] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_length_for_fit_alignment[2] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_length_for_fit_alignment[100] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_scaled_height_and_length_for_aligned_text[0.05] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_scaled_height_and_length_for_aligned_text[1] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_scaled_height_and_length_for_aligned_text[2] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathFromString::test_scaled_height_and_length_for_aligned_text[100] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakeHatchesFromString::test_total_length_for_fit_alignment FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_text_height[get_path_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_text_height[get_paths_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_text_height[get_hatches_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_bottom[get_path_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_bottom[get_paths_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_bottom[get_hatches_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_middle[get_path_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_middle[get_paths_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_middle[get_hatches_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_top[get_path_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_top[get_paths_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_top[get_hatches_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_fit[get_path_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_fit[get_paths_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_alignment_fit[get_hatches_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_rotation_90[get_path_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_rotation_90[get_paths_bbox] FAILED ../tests/test_08_addons/test_814_text2path.py::TestMakePathsFromEntity::test_rotation_90[get_hatches_bbox] ===== 45 failed, 6710 passed, 41 skipped, 2 warnings in 219.93s (0:03:39) ====== ==> FEHLER: Ein Fehler geschah in check(). Breche ab...

christianlupus commented on 2021-09-29 14:09 (UTC)

This allowed me to build the package in a chroot environment:

diff --git a/PKGBUILD b/PKGBUILD
index 58a4f23..df0a738 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ arch=('any')
 url=https://ezdxf.mozman.at/
 license=('MIT')
 depends=(python python-pyparsing)
-makedepends=(python-setuptools cython)
+makedepends=(python-setuptools cython python-wheel)
 checkdepends=(python-nurbs python-pytest)
 source=("${pkgname}-${pkgver}.tar.gz"::https://github.com/mozman/ezdxf/archive/v${pkgver}.tar.gz)
 sha256sums=('b95b73893827da05ad619171e20d3bc21080d892a5eecf1b0a9d77ea3dc77c1a')

mantielero commented on 2021-09-08 09:54 (UTC)

I think this package depends during the make phase on: python-wheel