gpt-engineer
gpt-engineer copied to clipboard
Improved System Information Output
This update enhances the --sysinfo command to provide a more detailed and structured overview of the runtime environment. The new version displays system details such as:
Python version and architecture OS type and version Git and pip versions Installed dependency list (first 30 shown) Key environment variables (like PATH)
Improvements Cleaner and more readable table output Consistent formatting for easier debugging and sharing Helpful for contributors to quickly verify setup consistency
Reference Resolves issue #1194
[!IMPORTANT] Enhances
--sysinfocommand for detailed system info, refactors snake game logic, and updates CI workflow for improved testing and dependency management.
- System Information:
- Enhanced
--sysinfocommand inmain.pyto display Python version, OS type, Git and pip versions, installed dependencies (first 30), and key environment variables.- Uses
richlibrary for formatted output.- Game Refactor:
- Refactored
Controller,Game,Snake, andViewclasses incontroller.py,model.py, andview.pyfor improved game logic and readability.- Added
Snakeclass to manage snake behavior and direction.Gameclass now handles food generation and collision detection.- CI Workflow:
- Updated
ci.yamlto use Poetry for dependency management and testing with Tox and Pytest.- Added Python 3.10, 3.11, and 3.12 to test matrix.
- Miscellaneous:
- Updated dependencies in
pyproject.tomlandtox.ini.- Added tests in
test_install.pyto verify installation and CLI functionality.- Reference:
- Resolves issue #1194.
This description was created by
for ec39e91227660a0395082331be8f066f6d16b918. You can customize this summary. It will automatically update as commits are pushed.