Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Jun 10, 2025

No description provided.

@lbolla
Copy link
Owner

lbolla commented Jun 11, 2025

Tests fail for Python 3.13: missing setuptools?

Do you want to take a look and propose a fix for it?

@cclauss
Copy link
Contributor Author

cclauss commented Jun 11, 2025

There were two problems:

  1. setuptools was removed by default in Py3.12 and pytest needed it.
  2. python setup.py xxx was also deprecated so just call pytest instead.

% pytest

============================= test session starts ==============================
platform linux -- Python 3.13.3, pytest-8.4.0, pluggy-1.6.0
rootdir: /home/runner/work/EMpy/EMpy
collected 8 items

tests/materials_test.py ......                                           [ 75%]
tests/utils_test.py ..                                                   [100%]

============================== 8 passed in 1.17s ===============================

@lbolla lbolla merged commit ea13906 into lbolla:master Jun 11, 2025
6 checks passed
@lbolla
Copy link
Owner

lbolla commented Jun 11, 2025

Great, thanks!

@cclauss cclauss deleted the patch-2 branch June 11, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants