Closed muety closed 8 months ago
We currently only support Python 3.8-3.10. We will provide Python wheels for newer versions with the next release.
Hi, yes we were planning to update CR-DC this week and provide a wheel for Python 3.11
Hi @muety , there is now a PyPi wheel for CR-DC for Python 3.11.
When trying to install in a Python 3.11 environment, compilation fails.
Log
``` Running setup.py install for commonroad-drivability-checker ... error error: subprocess-exited-with-error × Running setup.py install for commonroad-drivability-checker did not run successfully. │ exit code: 1 ╰─> [494 lines of output] /tmp/crime/venv/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running install /tmp/crime/venv/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/commonroad_dc copying commonroad_dc/__version__.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc copying commonroad_dc/__init__.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc running egg_info writing commonroad_drivability_checker.egg-info/PKG-INFO writing dependency_links to commonroad_drivability_checker.egg-info/dependency_links.txt writing requirements to commonroad_drivability_checker.egg-info/requires.txt writing top-level names to commonroad_drivability_checker.egg-info/top_level.txt reading manifest file 'commonroad_drivability_checker.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'commonroad_drivability_checker.egg-info/SOURCES.txt' /tmp/crime/venv/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'commonroad_dc.__pycache__' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'commonroad_dc.__pycache__' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'commonroad_dc.__pycache__' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'commonroad_dc.__pycache__' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /tmp/crime/venv/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'commonroad_dc.boundary' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'commonroad_dc.boundary' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'commonroad_dc.boundary' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'commonroad_dc.boundary' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /tmp/crime/venv/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'commonroad_dc.collision' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'commonroad_dc.collision' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'commonroad_dc.collision' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'commonroad_dc.collision' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /tmp/crime/venv/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'commonroad_dc.collision.collision_detection' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'commonroad_dc.collision.collision_detection' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'commonroad_dc.collision.collision_detection' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'commonroad_dc.collision.collision_detection' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /tmp/crime/venv/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'commonroad_dc.collision.trajectory_queries' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'commonroad_dc.collision.trajectory_queries' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'commonroad_dc.collision.trajectory_queries' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'commonroad_dc.collision.trajectory_queries' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /tmp/crime/venv/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'commonroad_dc.collision.visualization' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'commonroad_dc.collision.visualization' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'commonroad_dc.collision.visualization' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'commonroad_dc.collision.visualization' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /tmp/crime/venv/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'commonroad_dc.costs' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'commonroad_dc.costs' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'commonroad_dc.costs' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'commonroad_dc.costs' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /tmp/crime/venv/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'commonroad_dc.feasibility' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'commonroad_dc.feasibility' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'commonroad_dc.feasibility' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'commonroad_dc.feasibility' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /tmp/crime/venv/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'commonroad_dc.geometry' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'commonroad_dc.geometry' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'commonroad_dc.geometry' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'commonroad_dc.geometry' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) creating build/lib.linux-x86_64-cpython-311/commonroad_dc/__pycache__ copying commonroad_dc/__pycache__/__init__.cpython-311.pyc -> build/lib.linux-x86_64-cpython-311/commonroad_dc/__pycache__ copying commonroad_dc/__pycache__/__init__.cpython-39.pyc -> build/lib.linux-x86_64-cpython-311/commonroad_dc/__pycache__ copying commonroad_dc/__pycache__/__version__.cpython-311.pyc -> build/lib.linux-x86_64-cpython-311/commonroad_dc/__pycache__ copying commonroad_dc/__pycache__/__version__.cpython-39.pyc -> build/lib.linux-x86_64-cpython-311/commonroad_dc/__pycache__ creating build/lib.linux-x86_64-cpython-311/commonroad_dc/boundary copying commonroad_dc/boundary/__init__.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/boundary copying commonroad_dc/boundary/boundary.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/boundary copying commonroad_dc/boundary/construction.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/boundary copying commonroad_dc/boundary/lanelet_bounds.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/boundary copying commonroad_dc/boundary/rectangle_builder.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/boundary copying commonroad_dc/boundary/scenario_bounds.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/boundary copying commonroad_dc/boundary/triangle_builder.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/boundary creating build/lib.linux-x86_64-cpython-311/commonroad_dc/collision copying commonroad_dc/collision/__init__.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/collision creating build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/collision_detection copying commonroad_dc/collision/collision_detection/__init__.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/collision_detection copying commonroad_dc/collision/collision_detection/minkowski_sum.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/collision_detection copying commonroad_dc/collision/collision_detection/pycrcc_collision_dispatch.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/collision_detection copying commonroad_dc/collision/collision_detection/scenario.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/collision_detection creating build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/trajectory_queries copying commonroad_dc/collision/trajectory_queries/trajectory_queries.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/trajectory_queries copying commonroad_dc/collision/trajectory_queries/trajectory_queries_specialized.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/trajectory_queries creating build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/visualization copying commonroad_dc/collision/visualization/__init__.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/visualization copying commonroad_dc/collision/visualization/drawing.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/collision/visualization creating build/lib.linux-x86_64-cpython-311/commonroad_dc/costs copying commonroad_dc/costs/__init__.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/costs copying commonroad_dc/costs/evaluation.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/costs copying commonroad_dc/costs/partial_cost_functions.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/costs copying commonroad_dc/costs/route_matcher.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/costs creating build/lib.linux-x86_64-cpython-311/commonroad_dc/feasibility copying commonroad_dc/feasibility/__init__.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/feasibility copying commonroad_dc/feasibility/feasibility_checker.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/feasibility copying commonroad_dc/feasibility/solution_checker.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/feasibility copying commonroad_dc/feasibility/vehicle_dynamics.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/feasibility creating build/lib.linux-x86_64-cpython-311/commonroad_dc/geometry copying commonroad_dc/geometry/__init__.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/geometry copying commonroad_dc/geometry/geometry.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/geometry copying commonroad_dc/geometry/lanelet_ccosy.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/geometry copying commonroad_dc/geometry/util.py -> build/lib.linux-x86_64-cpython-311/commonroad_dc/geometry running build_ext ['-DPYTHON_INCLUDE_DIR=/home/ferdinand/.asdf/installs/python/3.11.3/include/python3.11', '-DPYTHON_LIBRARY=', '-DPYTHON_EXECUTABLE=/tmp/crime/venv/bin/python', '-DBUILD_DOC=OFF', '-DADD_TESTS=OFF', '-DADD_TRIANGLE=OFF', '-DADD_PYTHON_BINDINGS=ON'] CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 13.2.0 -- The CXX compiler identification is GNU 13.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- PYTHON MODE - assuming we are invoked by pip/setup.py -- PYTHON MODE - building static libraries -- Found Git: /usr/bin/git (found version "2.40.1") CMake Deprecation Warning at build/temp.linux-x86_64-cpython-311/build/_deps/ccd-src/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argumentWould be cool to get this fixed or, even better, have a pre-packaged Python 3.11 release.