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

should upgrade dependency for multidict when python3.12 #7132

Open
1 task done
sydowma opened this issue May 9, 2024 · 2 comments
Open
1 task done

should upgrade dependency for multidict when python3.12 #7132

sydowma opened this issue May 9, 2024 · 2 comments

Comments

@sydowma
Copy link

sydowma commented May 9, 2024

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

MacOS

Which version of AutoGPT are you using?

Master (branch)

Do you use OpenAI GPT-3 or GPT-4?

GPT-4

Which area covers your issue best?

Installation and setup

Describe your issue.

I got an error when I setup autoGPT
I am use python3.12 version, I found there's an dependency block that we need to upgrade multidict to 6.0.5 to compatible python3.12

  at venv/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare
      160│
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      162│
      163│             if error is not None:
    → 164│                 raise error from None
      165│
      166│             return path
      167│
      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with multidict (6.0.4) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "multidict (==6.0.4)"'.

Upload Activity Log Content

No response

Upload Error Log Content

No response

@sydowma
Copy link
Author

sydowma commented May 9, 2024

for thinc
the autoGPT should upgrade to 8.2.1 up
https://github.com/explosion/thinc/releases/tag/v8.2.1

@sydowma
Copy link
Author

sydowma commented May 9, 2024

When I switched to python3.11 it also failed

 - Installing vcrpy (5.1.0 bfd15f9): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke get_requires_for_build_wheel

  Traceback (most recent call last):
    File "/Users/oker/github/download/AutoGPT/autogpts/autogpt/venv/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/Users/oker/github/download/AutoGPT/autogpts/autogpt/venv/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/oker/github/download/AutoGPT/autogpts/autogpt/venv/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 112, in get_requires_for_build_wheel
      backend = _build_backend()
                ^^^^^^^^^^^^^^^^
    File "/Users/oker/github/download/AutoGPT/autogpts/autogpt/venv/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 74, in _build_backend
      ep = os.environ['PEP517_BUILD_BACKEND']
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
    File "<frozen os>", line 679, in __getitem__
  KeyError: 'PEP517_BUILD_BACKEND'


  at venv/lib/python3.11/site-packages/poetry/installation/chef.py:164 in _prepare
      160│
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      162│
      163│             if error is not None:
    → 164│                 raise error from None
      165│
      166│             return path
      167│
      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
  - Downgrading virtualenv (20.26.1 -> 20.25.0)
  - Installing webdriver-manager (4.0.1)

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

1 participant