-
Notifications
You must be signed in to change notification settings - Fork 490
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
Update to bpy 4.1.0 and Python 3.11, packaging for installation to pypi is working (WIP) #252
Conversation
Update to 3.11 upgrade requirements change setup.py try handle fix typo docker builds on linux at least fix issues for publishing to pypi add requirements restore setup.py
Thanks for the contribution! Ive been really wanting to set up pypi publishing and havent had the time/expertise to do it, so im very excited for this PR. Docker actually working would be huge too. We are on a tight deadline this week so I will be active to test & merge this next week, or in 2 weeks, after CVPR. Updating to bpy==4.1.0 will almost certainly break some assets / geonodes as typically the names of various things change. Updating to bpy==3.6 was pretty arduous so hopefully this one is less painful. This PR will only publish the INFINIGEN_MINIMAL_INSTALL=True version I presume, without terrain or opengl. At some point id love to include all of these, but packaging GPU code is quite hard afaik. So, the main remaining tasks are as follows, but no obligation to do these
|
I'll take a crack at making sure everything works tonight. I will try to figure out how to run tests :) We're working on a distributed rendering package: https://github.com/raccoonresearch/distributaur So yeah, we'll be imminently testing if we ran run hundreds of instances simultaneously and see if there are any bugs. |
To run the tests you can just I also recommend doing |
Thanks for the tips. You are right. Some things in geometry nodes have changed a lot. However, seems resolvable, I resolved a few of the issues already. Will take a crack at getting this all going and updated. |
Can you turn on the cicd or is it load bearing? |
Hi folks, would you be willing to PR just the docker/manifest/other fixes without the blender 4.1.0 update for now? Im going to try set up pypi packaging for infinigen v1.4.1 onwards. I would love to use all your changes via an isolated PR, and I think bpy==4.1 should come slightly later on. |
How can I help? I'm new to this code base. |
Hello. I am having difficulty isolating Blender.
|
For reference. |
The project was moved here https://github.com/DeepAI-Research/Simverse. I will try to restore the pr. |
This PR does the following:
python3.11 -m build && twine upload dist/*
builds and deploys to pypiNote: Some of the tests have been corrected and are passing, but some are not. Working on it :)
I've deployed to PyPI here: https://pypi.org/project/rr-infinigen/ (temporary until there is an infinigen package)
There may be some other issues, I didn't get too deep into the docs, but happy to take feedback and make this work for others.