Skip to content

Incompatible with Python >= 3.13 #5

@roeseth

Description

@roeseth
nextjs@534ed2190b85:~$ uvx --from git+https://github.com/jen6/ticktick-mcp.git ticktick-mcp
  x Failed to build `regex==2021.4.4`
  |-> The build backend returned an error
  `-> Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)

      [stdout]
      running bdist_wheel
      running build
      running build_py
      copying regex_3/__init__.py -> build/lib.linux-x86_64-cpython-313/regex
      copying regex_3/__init__.py -> build/lib.linux-x86_64-cpython-313/regex
      copying regex_3/regex.py -> build/lib.linux-x86_64-cpython-313/regex
      copying regex_3/_regex_core.py -> build/lib.linux-x86_64-cpython-313/regex
      copying regex_3/test_regex.py -> build/lib.linux-x86_64-cpython-313/regex
      running build_ext
      building 'regex._regex' extension
      x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC
      -I/home/nextjs/.cache/uv/builds-v0/.tmpKYlwsu/include -I/usr/include/python3.13 -c regex_3/_regex.c -o
      build/temp.linux-x86_64-cpython-313/regex_3/_regex.o

      [stderr]
      /home/nextjs/.cache/uv/builds-v0/.tmpKYlwsu/lib/python3.13/site-packages/setuptools/dist.py:759:
      SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!

              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:

              License :: OSI Approved :: Apache Software License

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************

      !!
        self._finalize_license_expression()
      regex_3/_regex.c:50:10: fatal error: Python.h: No such file or directory
         50 | #include "Python.h"
            |          ^~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

      hint: This error likely indicates that you need to install a library that provides "Python.h" for `regex@2021.4.4`
  help: `regex` (v2021.4.4) was included because `ticktick-mcp` (v0.1.0) depends on `ticktick-py` (v2.0.4) which depends on
        `regex`

Workaround: use uvx --python 3.12 --from git+https://github.com/jen6/ticktick-mcp.git ticktick-mcp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions