Help with package setup

Hey all,

First, I am not sure this is the right place to post this. But I looked through this discourse and through Zulip, and I could not find a better place.

I am a single developer working on the openDVP package, which follows scverse’s package standards. I run tests on all three major OS, in different python versions, and they are all passing.

I am running into issues with some users that don’t seem to be able to install the package because of wheel issues.

I got this message privately:

"Attempting installation via ‘pip install opendvp’ in a Python 3.11 environment proved unsuccessful. The process failed during the “getting requirements to build wheel” stage, resulting in a subprocess errors.”

I am confused because I test my package install with CI with that python version on all three major OS. and I can’t seem to replicate the issue. Is there a resource that better explains why this happens, or how can I prevent this?

I see some packages telling their users to install Microsoft Visual C++ Compiler before installing their package, this is something I would like to prevent, since it would increase the barrier to many non-programmer users.

Thank you for your help, happy to discuss.

Hi @josenimo

Without a reproducer or even a longer stack trace, it’s really tough to say.

Could you gather more info?

Dear @ilan-gold , thank you for your answer to such broad question.

I figured it out, in the end the pip solver was taking too long and ran into too-deep errors, where uv worked. I just had to constrain dependencies further to help pip solve.

Best Jose

PS, I do not have any more details because that was all the reviewer posted :frowning: I was also working in the dark

1 Like