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

Any chance on 3.12 update soon? #120

Open
Gh0sTG0 opened this issue Dec 10, 2023 · 7 comments
Open

Any chance on 3.12 update soon? #120

Gh0sTG0 opened this issue Dec 10, 2023 · 7 comments

Comments

@Gh0sTG0
Copy link

Gh0sTG0 commented Dec 10, 2023

Hi. Trying to install this on Python 3.12.1 latest, pip-setuptools-wheel are updated to latest. Having error:

(.venv) PS D:\PyProjects\test1> pip install -U pyqt6-tools
Collecting pyqt6-tools
  Using cached pyqt6_tools-6.4.2.3.3-py3-none-any.whl (29 kB)
Collecting click (from pyqt6-tools)
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting pyqt6==6.4.2 (from pyqt6-tools)
  Using cached PyQt6-6.4.2-cp37-abi3-win_amd64.whl (6.4 MB)
INFO: pip is looking at multiple versions of pyqt6-tools to determine which version is compatible with other requirements. This could take a while.
Collecting pyqt6-tools
  Using cached pyqt6_tools-6.3.1.3.3-py3-none-any.whl (29 kB)
Collecting pyqt6==6.3.1 (from pyqt6-tools)
  Using cached PyQt6-6.3.1-cp37-abi3-win_amd64.whl (6.3 MB)
Collecting pyqt6-tools
  Using cached pyqt6_tools-6.1.0.3.2-py3-none-any.whl (29 kB)
Collecting pyqt6==6.1.0 (from pyqt6-tools)
  Using cached PyQt6-6.1.0.tar.gz (946 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [26 lines of output]
      pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
      Traceback (most recent call last):
        File "D:\PyProjects\test1\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "D:\PyProjects\test1\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "D:\PyProjects\test1\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 152, in prepare_metadata_for_build_wheel
          whl_basename = backend.build_wheel(metadata_directory, config_settings)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ghost\AppData\Local\Temp\pip-build-env-ckquya1p\overlay\Lib\site-packages\sipbuild\api.py", line 46, in build_wheel
          project = AbstractProject.bootstrap('wheel',
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ghost\AppData\Local\Temp\pip-build-env-ckquya1p\overlay\Lib\site-packages\sipbuild\abstract_project.py", line 87, in bootstrap
          project.setup(pyproject, tool, tool_description)
        File "C:\Users\ghost\AppData\Local\Temp\pip-build-env-ckquya1p\overlay\Lib\site-packages\sipbuild\project.py", line 587, in setup
          self.apply_user_defaults(tool)
        File "C:\Users\ghost\AppData\Local\Temp\pip-install-okx6tnki\pyqt6_3aa250aa442149ccafa78c508e672927\project.py", line 60, in apply_user_defaults
          super().apply_user_defaults(tool)
        File "C:\Users\ghost\AppData\Local\Temp\pip-build-env-ckquya1p\overlay\Lib\site-packages\pyqtbuild\project.py", line 70, in apply_user_defaults
          super().apply_user_defaults(tool)
        File "C:\Users\ghost\AppData\Local\Temp\pip-build-env-ckquya1p\overlay\Lib\site-packages\sipbuild\project.py", line 237, in apply_user_defaults
          self.builder.apply_user_defaults(tool)
        File "C:\Users\ghost\AppData\Local\Temp\pip-build-env-ckquya1p\overlay\Lib\site-packages\pyqtbuild\builder.py", line 69, in apply_user_defaults
          raise PyProjectOptionException('qmake',
      sipbuild.pyproject.PyProjectOptionException
      [end of output]

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

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Any chance on 3.12 update?

@SharryXu
Copy link

I've met the same issue. Do we have any plans to support python 3.12 recently? @altendky

@carverrn1
Copy link

carverrn1 commented Mar 8, 2024

Same issue. Python 3.12. Windows 10 Pro.

Update: I've switched to Python 3.10.11 as a work-around.

@Richemond-Gbekley
Copy link

The same issue. how do i go about it ?

@Marigem
Copy link

Marigem commented Apr 28, 2024

Same issue here, Hopefully it gets updated for latest python versions at some point.

@Stratia
Copy link

Stratia commented Jun 12, 2024

Issue still occuring.

@ZeldaJC
Copy link

ZeldaJC commented Jun 25, 2024

Same error, can not fix it!

@Stratia
Copy link

Stratia commented Jun 25, 2024

I got around this issue by installing this instead, as I needed to use Qt-designer.

https://build-system.fman.io/qt-designer-download

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

7 participants