Skip to content

Fail to install TEA #3

@Kenman-22

Description

@Kenman-22

Hi!

Thank you so much for developing this interesting app! However, I am running into some issues trying to download it. I am currently using python version 3.14.2, pip version 26.0.1, and Ubuntu 24.04 LTS Linux 6.8.0-94-generic.

python -m pip install git+https://github.com/PickyBinders/tea.git

Collecting git+https://github.com/PickyBinders/tea.git
  Cloning https://github.com/PickyBinders/tea.git to /tmp/pip-req-build-atpqygcl
  Running command git clone --filter=blob:none --quiet https://github.com/PickyBinders/tea.git /tmp/pip-req-build-atpqygcl
  Resolved https://github.com/PickyBinders/tea.git to commit 19d5edd9f32491c48033bd6596c907665d3cc670
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [58 lines of output]
      configuration error: `project.optional-dependencies.readme` must be array
      GIVEN VALUE:
          "README.md"
      
      OFFENDING RULE: 'type'
      
      DEFINITION:
          {
              "type": "array",
              "items": {
                  "$id": "#/definitions/dependency",
                  "title": "Dependency",
                  "type": "string",
                  "description": "Project dependency specification according to PEP 508",
                  "format": "pep508"
              }
          }
      
      For more details about `format` see
      https://validate-pyproject.readthedocs.io/en/latest/api/validate_pyproject.formats.html
      
      Traceback (most recent call last):
        File "/home/ubuntu/miniconda3/envs/TEA_py_3_13/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
          ~~~~^^
        File "/home/ubuntu/miniconda3/envs/TEA_py_3_13/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/ubuntu/miniconda3/envs/TEA_py_3_13/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-deofea2x/overlay/lib/python3.14/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-deofea2x/overlay/lib/python3.14/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-deofea2x/overlay/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 1, in <module>
        File "/tmp/pip-build-env-deofea2x/overlay/lib/python3.14/site-packages/setuptools/__init__.py", line 117, in setup
          return distutils.core.setup(**attrs)  # type: ignore[return-value]
                 ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/tmp/pip-build-env-deofea2x/overlay/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 160, in setup
          dist.parse_config_files()
          ~~~~~~~~~~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-deofea2x/overlay/lib/python3.14/site-packages/setuptools/dist.py", line 762, in parse_config_files
          pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-deofea2x/overlay/lib/python3.14/site-packages/setuptools/config/pyprojecttoml.py", line 72, in apply_configuration
          config = read_configuration(filepath, True, ignore_option_errors, dist)
        File "/tmp/pip-build-env-deofea2x/overlay/lib/python3.14/site-packages/setuptools/config/pyprojecttoml.py", line 140, in read_configuration
          validate(subset, filepath)
          ~~~~~~~~^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-deofea2x/overlay/lib/python3.14/site-packages/setuptools/config/pyprojecttoml.py", line 61, in validate
          raise ValueError(f"{error}\n{summary}") from None
      ValueError: invalid pyproject.toml config: `project.optional-dependencies.readme`.
      configuration error: `project.optional-dependencies.readme` must be array
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'git+https://github.com/PickyBinders/tea.git' when getting requirements to build wheel

Any help would be appreciated!

Best wishes,

Ken

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions