-
-
Notifications
You must be signed in to change notification settings - Fork 9
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin please restart ci |
@conda-forge-admin, please rerender |
I'm a bit lost. It seems like we need mujoco_py, which is deprecated and not supported for mujoco>2.1 (ref: https://github.com/openai/mujoco-py/) (and we only have >2.1 on conda-forge). Then it also seems like gym is now gymnasium, and gym does not get any fixes anymore (ref: openai/gym#2524 (comment)). That said, even in this gymnasium fork, they still import mujoco_py: https://github.com/Farama-Foundation/Gymnasium/blob/main/gymnasium/envs/mujoco/mujoco_env.py |
Mujoco used to be closed-source software until it got bought(?) by google and opensourced. That's why there's probably a split between import patterns. Previously we didn't distribute gym-mujoco due to these reasons. In this case I think we could just add a sed script that replaces Maybe @pseudo-rnd-thoughts can help us explain the split between gym/gymnasium. IIUC correctly, we should be able to just switch sources to gymnasium here at a certain version (and probably switch to the new name then, keeping the old outputs for compatibility for a while) |
BTW, do you want to join as a maintainer here @Tobias-Fischer - seeing that you were instrumental in pushing ale-py and pygame over the finishline? 🙃 |
This is weird. The code wants to |
Great, starting off with a segfault right off the bat after trying to run the test suite... 😑
|
Hi @h-vetinari and @Tobias-Fischer, thanks for your work on this repo.
Im not familiar with conda but Im happy to set up a conda-dev channel on the gym discord in order to talk about getting gym (and hopefully gymnasium) on conda if either of you are interested |
Thanks for the inputs @pseudo-rnd-thoughts
Yeah, we cannot support the older mujoco-py (unless it somehow became license-free), but what I'm wondering is what you mean by "not equivalent due to the binding". Are they equivalent enough that we can drop in
The way I read the announcement is that at 0.26.2 we could switch over sources and then continue with gymnasium, right?
This used to work in previous gym versions on conda, but for now I'm fine with dropping
Gym <=0.21 is already in conda-forge, but we've been stuck on the lack of pygame ever since. We didn't run the test suite previously, but with all the changes, I thought it prudent to do so. The results are not looking great (in particular it's segfaulting on Linux), so your help in analysing those would be very welcome. If it helps, I can provide a way to install the artefacts being created in this PR in a way that you can install them. It would be fine to skip tests that simply cannot run in our CI, i.e. if they need an actual screen or GPU, but generally it would be good to run as much as we can. It's also possible that we skip some versions (e.g. go straight to 0.26), but I was looking to fill in the gaps and publish all 0.x versions since 0.21, now that we have pygame. However that was conditional on a passing test suite, and if it's easier to get it to pass with a new version, I'm happy to skip some minor versions in between. |
My time is restricted as Im trying to finish a paper for IJCAI in mid-January but if there is an easy way of installing / testing I can try to find the time to help. |
Many thanks for the insights, @pseudo-rnd-thoughts! Two questions/suggestions:
|
I'm thinking we could go straight to gymnasium. This feedstock has been in a coma for a while, perhaps it would be cleaner to let it lie. Users can switch their dependency to gymnasium (perhaps we can communicate this upstream with the help of @pseudo-rnd-thoughts once ready) |
And by that I mean open a PR to staged-recipes, which takes this recipe and adapts it to gymnasium. We can even keep the history of this feedstock with some surgery afterwards (same was done e.g. for qt->qt-main) |
Agreed that this is probably the best way forward! |
Without contacting the development team, someone has already made a Gymnasium feedstock. https://github.com/conda-forge/gymnasium-feedstock |
Thanks for the pointer @pseudo-rnd-thoughts! We managed to backport the history to that feedstock and now work continues in conda-forge/gymnasium-feedstock#9 @Tobias-Fischer, the invitation to join the maintenance team is still open ;-) Also, it looks like we'll have our work cut out for us with the next big ecosystem that joins the gym dependencies as of 0.27: conda-forge/gymnasium-feedstock#8 |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
…nda-forge-pinning 2023.01.26.03.13.59
Starting from 0.22, gym depends on pygame, which hasn't been packaged yet (pending conda-forge/staged-recipes#19665).
The upgrade PRs were never merged, until #26, where I didn't realize that this had changed. Since we had to mark those builds as broken, we can still continue with 0.22.0 (and then 0.23.x, and so on).
ale-py is also still missing, pending conda-forge/staged-recipes#19664
Closes #33