Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.13 not supported #8075

Closed
daniKayran opened this issue May 22, 2024 · 6 comments
Closed

Python 3.13 not supported #8075

daniKayran opened this issue May 22, 2024 · 6 comments

Comments

@daniKayran
Copy link

this leb not supported python3.13

@jm-nab
Copy link

jm-nab commented May 22, 2024

same here:

python 3.13.0b1

genai-qa:$ pip install -U pillow
Collecting pillow
  Using cached pillow-10.3.0.tar.gz (46.6 MB)
  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
  ╰─> [21 lines of output]
      Traceback (most recent call last):
        File "/home/jm/repos/northgpt/vertexai_loaders/venv_313/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "/home/jm/repos/northgpt/vertexai_loaders/venv_313/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/jm/repos/northgpt/vertexai_loaders/venv_313/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-7r2m69xg/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-7r2m69xg/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-7r2m69xg/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 33, in <module>
        File "<string>", line 27, in get_version
      KeyError: '__version__'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

@Yay295
Copy link
Contributor

Yay295 commented May 22, 2024

#8050 fixed this yesterday.

@jm-nab
Copy link

jm-nab commented May 22, 2024

#8050 fixed this yesterday.

Yes thank you! Looks like I'm unblocked via this change in pyproject.toml

pillow = {git = "https://github.com/python-pillow/Pillow.git" ,rev = "d879f397112d1cb50af7d27f16eaf2c7bb221043"}

@radarhere radarhere changed the title not supported python3.13 Python 3.13 not supported May 22, 2024
@radarhere
Copy link
Member

radarhere commented May 22, 2024

Pillow should work with 3.13 alpha 6. The change that caused this problem only appeared in 3.13 beta 1. It is indeed fixed by #8050. On July 1, Pillow 10.4.0 is scheduled to be released, which should include that, and I expect also include Python 3.13 beta wheels with #8071.

However, Pillow will not officially support Python 3.13 until Pillow 11.0.0 on October 15, because that will be the first release after Python 3.13 final is released.

@hugovk
Copy link
Member

hugovk commented May 23, 2024

#8071 is merged, keep an eye on #8076 for when the 3.13 beta wheels are out.

@radarhere
Copy link
Member

Pillow 10.4.0 has just been released. If you try again now, the problem should be resolved.

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

No branches or pull requests

5 participants