GithubHelp home page GithubHelp logo

Python 3.13 not supported about pillow HOT 6 CLOSED

daniKayran avatar daniKayran commented on September 24, 2024
Python 3.13 not supported

from pillow.

Comments (6)

radarhere avatar radarhere commented on September 24, 2024 2

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.

from pillow.

Yay295 avatar Yay295 commented on September 24, 2024 1

#8050 fixed this yesterday.

from pillow.

hugovk avatar hugovk commented on September 24, 2024 1

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

from pillow.

jm-nab avatar jm-nab commented on September 24, 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.

from pillow.

jm-nab avatar jm-nab commented on September 24, 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"}

from pillow.

radarhere avatar radarhere commented on September 24, 2024

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

from pillow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.