Skip to content

Fix CI and migrate from gym to gymnasium#44

Merged
Agony5757 merged 1 commit intomasterfrom
develop
Mar 29, 2026
Merged

Fix CI and migrate from gym to gymnasium#44
Agony5757 merged 1 commit intomasterfrom
develop

Conversation

@Agony5757
Copy link
Copy Markdown
Owner

Summary

  • Fix CI workflow for compatibility with modern GitHub Actions runners (checkout v4, setup-python v5, apt-get update)
  • Migrate from deprecated gym to gymnasium across all env files
  • Update SingleAgentMahjongEnv step/reset to new Gymnasium API (5-tuple step, 2-tuple reset)

Test plan

  • Verify CI workflow passes
  • Verify import pymahjong and env creation works with gymnasium

🤖 Generated with Claude Code

Replace deprecated OpenAI Gym with Gymnasium across all env files.
Update SingleAgentMahjongEnv to use the new step/reset API
(5-tuple step return, 2-tuple reset return).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Agony5757 Agony5757 merged commit 06b34f9 into master Mar 29, 2026
2 checks passed
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.

1 participant