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

fix(python): remove pin to setuptools, pin python version #4395

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Conversation

mudler
Copy link
Owner

@mudler mudler commented Dec 16, 2024

Description

Bumps setuptools as currently CI fails with:

 Resolved 123 packages in 1.75s
  × Failed to download and build `numpy==1.22.0`
  ╰─▶ Build backend failed to determine requirements with `build_wheel()`
      (exit status: 1)

      [stderr]
      Traceback (most recent call last):
        File "<string>", line 8, in <module>
        File
      "/home/runner/.cache/uv/builds-v0/.tmp6DE6nf/lib/python3.12/site-packages/setuptools/__init__.py",
      line 10, in <module>
          import distutils.core
      ModuleNotFoundError: No module named 'distutils'

      hint: `distutils` was removed from the standard library in Python 3.12.
      Consider adding a constraint (like `numpy >1.22.0`) to avoid building a
      version of `numpy` that depends on `distutils`.
make: *** [Makefile:5: install] Error 1

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Dec 16, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 62a4c7c
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/675ff1dbc38a57000890c472
😎 Deploy Preview https://deploy-preview-4395--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mudler mudler force-pushed the fix/tests branch 4 times, most recently from 021aa63 to 3e03973 Compare December 16, 2024 09:33
@mudler mudler changed the title fix(setuptools): bump fix(python): remove pin to setuptools, pin python version Dec 16, 2024
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler mudler merged commit 7ca0e2d into master Dec 16, 2024
26 of 27 checks passed
@mudler mudler deleted the fix/tests branch December 16, 2024 09:55
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

Successfully merging this pull request may close these issues.

1 participant