Skip to content

fix: update compatibility with recent dependency versions and modernize project config#308

Open
3DAlgoLab wants to merge 5 commits intommatl:masterfrom
3DAlgoLab:master
Open

fix: update compatibility with recent dependency versions and modernize project config#308
3DAlgoLab wants to merge 5 commits intommatl:masterfrom
3DAlgoLab:master

Conversation

@3DAlgoLab
Copy link

Summary

Compatibility Fixes

  • Update Python requirement to 3.10+ (was 2.7, 3.4-3.6)
  • Update Duck.glb URL (original Khronos URL was archived)
  • Replace deprecated np.infty with np.inf in mesh.py
  • Apply code formatting updates for pyglet 2.x compatibility

Project Modernization

  • Replace legacy setup.py with pyproject.toml using modern setuptools (PEP 517/518)
  • Add uv.lock for reproducible dependencies
  • Add AGENTS.md with agentic coding guidelines (pytest, flake8, pre-commit commands)
  • Fix pyproject.toml keywords field (must be array, not string)
  • Separate dependencies: core runtime deps vs optional dev/docs

Updated Dependencies (pyproject.toml)

  • pyglet >= 2.0.0, <3
  • trimesh >= 4.1.0
  • numpy >= 1.24.0
  • pyopengl >= 3.1.10
  • imageio >= 2.37.2
  • networkx >= 3.6.1
  • pillow >= 10.0.0

README Updates

  • Update Python version requirement to 3.10+
  • Note compatibility with modern dependencies (pyglet 2.x, trimesh 4.x, NumPy)

- Update Duck.glb URL (original was archived)
- Replace deprecated np.infty with np.inf
- Minor formatting fixes
- Replace legacy setup.py with pyproject.toml using modern setuptools
- Keep Python 3.10+ minimum (setup.py supported Python 2.x/3.x legacy)
- Fix keywords field (must be array, not string)
- Separate dependencies: core runtime deps vs optional dev/docs
- Add proper build-system section for PEP 517/518 compliance
- Include pytest configuration and package discovery settings
- Add AGENTS.md with guidelines for agentic coding:
  - Build/lint/test commands (pytest, flake8, pre-commit)
  - Code style: imports, naming, docstrings, properties, error handling
  - Project structure overview
  - Testing conventions and notes on OpenGL context requirements
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