Installing Dymos currently requires the packaging package to be pre-installed, as it is used to check for Python 3.12:
# playwright dependencies are currently incompatible with python 3.12
if Version(python_version()) < Version('3.12.0'):
optional_dependencies['test'].extend(['playwright>=1.20', 'aiounittest'])
This is no longer necessary, as playwright has since been updated to be compatible with Python 3.12
Example
Processing ./dev/dymos/dist/dymos-1.10.0.tar.gz
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-req-build-p1x2ha8z/setup.py", line 1, in <module>
from packaging.version import Version
ModuleNotFoundError: No module named 'packaging'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Description
Installing Dymos currently requires the
packaging
package to be pre-installed, as it is used to check for Python 3.12:This is no longer necessary, as
playwright
has since been updated to be compatible with Python 3.12Example
Dymos Version
1.10.0
Relevant environment information
No response