flatland-association / flatland-rl

The Flatland Framework is a multi-purpose environment to tackle problems around resilient resource allocation under uncertainty. It is designed to be a flexible and method agnostic to solve a wide range of problems in the field of operations research and reinforcement learning.
https://www.flatland-association.org/
MIT License
20 stars 7 forks source link

update pyglet to latest #54

Closed aiAdrian closed 10 months ago

aiAdrian commented 10 months ago

Changes

pyglet version 1.3.2 doesn't no longer supported with python 3.8< under windows.

Related issues

Link to every issue from the issue tracker (if any) you addressed in this PR.

Checklist

aiAdrian commented 10 months ago

tested: windows with python 3.8 linux with python 3.8

----------------- ok

pyglet 2.0.9

fnberta commented 10 months ago

While this might resolve the issue, I would not recommend this approach. The idea of requirements.txt is that it pins exact versions, so that everyone gets exactly the same packages. Moreover, these files are generated from pyproject.toml and should not be edited by hand because the generation step includes the latest version that match the constraints specified in pyproject.toml. Currently, we have a constraint of gym=0.14.0 in there which is the reason pyglet gets installed with such a low version.

Please see my comments in https://github.com/flatland-association/flatland-rl/issues/53 and https://github.com/flatland-association/flatland-rl/pull/55. The easiest "proper" solution would be to get rid of gym which apparently is something we want to do anyway (https://github.com/flatland-association/flatland-rl/issues/26).

aiAdrian commented 10 months ago

Oh. I don't know that the pyproject.toml file is the master. Thus we can delete this PR and Branch as well?

fnberta commented 10 months ago

Yes, I think we can close it especially since you now implemented https://github.com/flatland-association/flatland-rl/pull/56!