Ich wollte Updates einspielen und dabei wurde auch die python-exdxf angeboten.
Leider bricht sie jedesmal ab, mit der Meldung:
...
../tests/test_08_addons/test_814_text2path.py:421: AssertionError
___________ TestMakePathsFromEntity.test_rotation_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.test_rotation_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...
Keine Ahnung warum aber es klappte, auch nicht wenn ich erst alles andere einspielte und dann nochmal eine Versuch unternahm.
Weiß von euch woran es liegt ujnd wie man es wieder installiert bekommt.?
Vie vorige Version 0.17.2 tut noch ihren Dienst.
Ich weiß zwar nicht wofür sie gebraucht wird aber wenn es schon einen Versionssprung von 0.17.2 auf 1.0.1b1-1 macht sollte man vielleicht die aktuellere einspielen.
MfG R.Lehmeier