Skip to content

Conversation

@webknjaz
Copy link

Fixes #86

@webknjaz

This comment was marked as resolved.

@webknjaz
Copy link
Author

  • I didn't clone the repo locally so no uv lock updated. If somebody gets to it before I do — feel free to push a commit into this branch.

@Vizonex
Copy link

Vizonex commented Oct 27, 2025

Seems there's a bit of the problem in the uv setup.

error: The lockfile at `uv.lock` needs to be updated, but `--locked` was provided. To update the lockfile, run `uv lock`.

Perhaps cffi needs to be removed from the uv.lock file?

@webknjaz
Copy link
Author

Yes

@Vizonex
Copy link

Vizonex commented Oct 27, 2025

@webknjaz if you don't have the time currently I would be willing to fork your patch-1 and then commit it. I can't seem to create a reviewer's suggestion. But I could quickly fork and pull request to your branch.

@webknjaz
Copy link
Author

Sounds good, thanks!

@webknjaz
Copy link
Author

@art049 could you run the CI again?

@Vizonex
Copy link

Vizonex commented Oct 28, 2025

@art049 do you happen to know how to remove the cffi dependency by any chance?

 Caused by: Dependency `cffi` has missing `version` field but has more than one matching package

even I'm having trouble making edits and I use uv a lot for many of my numerous libraries.

@edgarrmondragon
Copy link
Contributor

@art049 do you happen to know how to remove the cffi dependency by any chance?

 Caused by: Dependency `cffi` has missing `version` field but has more than one matching package

even I'm having trouble making edits and I use uv a lot for many of my numerous libraries.

I think it's caused by an old version of uv:

Successfully installed uv version 0.5.20

I opened #95.

webknjaz and others added 2 commits October 28, 2025 11:14
Removed cffi package version 1.17.1 and its dependencies from the lock file.
@webknjaz
Copy link
Author

INTERNALERROR> RuntimeError: Failed to load instrument hooks library: No module named '_cffi_backend'

@Vizonex looks like the dep should be added to the test deps. Would you like to give it a try?

@adriencaccia
Copy link
Member

Hey @webknjaz, @Vizonex, @edgarrmondragon. After taking a closer look it was not that easy to remove cffi and keep the library working.
I opened #96 with a WIP for switching to a native extension. It still needs some thorough testing, but otherwise it should be good.

@Vizonex
Copy link

Vizonex commented Oct 28, 2025

@adriencaccia Thanks. This will definitely save both me and webknjaz a headache.

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.

python 3.13 on free-threaded mode doesn't work

4 participants