Skip to content

CompilerGym/requirements.txt is invalid #501

@KyleHerndon

Description

@KyleHerndon

🐛 Bug

CompilerGym/requirements.txt is an invalid requirements specification:

  • CompilerGym/requirements.txt recursively includes CompilerGyms/compiler_gym/requirements.txt and CompilerGyms/examples/requirements.txt
  • CompilerGyms/compiler_gym/requirements.txt specifies numpy>=1.19.3
  • CompilerGyms/compiler_gym/requirements.txt specifies numpy~=1.19.2

To Reproduce

python -m pip install -r CompilerGym/requirements.txt will throw an error regarding conflicting version and even if they don't conflict, it throws an error regarding the requirement being specified twice.

Expected behavior

Should be an easy fix, but I'm not sure which of the viable fixes is to your preferences. I think everything would work if you picked only one version of 1.19.x, but you could also probably remove the nested requirement on examples/requirements.txt and then made a note in examples/README.md noting the slightly different requirements.

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions