Skip to content

Handle VCS requirements via cached wheels on deploy#161

Merged
virtuald merged 2 commits into
mainfrom
direct-url
Mar 11, 2026
Merged

Handle VCS requirements via cached wheels on deploy#161
virtuald merged 2 commits into
mainfrom
direct-url

Conversation

@virtuald
Copy link
Copy Markdown
Member

@virtuald virtuald commented Mar 8, 2026

May resolve https://www.chiefdelphi.com/t/unable-to-deploy-a-custom-python-library-with-robotpy/515734

This fix is generated by gpt-5.4 (via pi.dev), and it looks like generally the correct fix. Unfortunately I won't have time to test this on a real system anytime in the next week or so.

Please try it and let me know if this resolves your issue.

@auscompgeek
Copy link
Copy Markdown
Member

Heh, this would've been great for testing photonvision before their release cuts too.

@nfoert
Copy link
Copy Markdown

nfoert commented Mar 10, 2026

I gave this a go tonight from my Linux machine and was running into the same behavior as before.

I downloaded the dist zip from your actions run then installed the wheel with pip install ~/Downloads/dist/robotpy_installer-0.1.dev1+gc5a6b12d7-py3-none-any.whl into my robot code venv (including a fully recreated one). Then I ran robotpy sync and robotpy deploy.

I did see the dev version of robotpy-installer upon running pip list, but I also saw a 2026 version of robotpy-cli. I uninstalled robotpy-cli and the robotpy commands still worked, but I didn't see any change with this issue.

Does that sound like the correct process for testing a dev build? I didn't see any dev instructions, so I just want to check that I'm not doing the wrong thing.

@auscompgeek
Copy link
Copy Markdown
Member

I uninstalled robotpy-cli and the robotpy commands still worked

Weird. If you uninstalled robotpy-cli then the robotpy command shouldn't work at all.

@nfoert
Copy link
Copy Markdown

nfoert commented Mar 10, 2026

Weird. If you uninstalled robotpy-cli then the robotpy command shouldn't work at all.

Interesting. I'll give it another go tonight on our proper driver station machine (which is windows). My python environment on Linux might be messed up.

@nfoert
Copy link
Copy Markdown

nfoert commented Mar 10, 2026

I just got this to work, our git package can now be uploaded to the rio. Thanks for your work on this!

My issue during testing from yesterday was that running robotpy sync caused the dev robotpy-installer package to be replaced with a stable one. I reinstalled the dev one and ran robotpy deploy --no-verify and was successfully able to deploy with the git library.

@virtuald virtuald merged commit 6237817 into main Mar 11, 2026
24 checks passed
@virtuald virtuald deleted the direct-url branch March 11, 2026 04:48
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.

3 participants