pretext-cli icon indicating copy to clipboard operation
pretext-cli copied to clipboard

can't detect requirements.txt from subfolder

Open oscarlevin opened this issue 1 year ago • 2 comments

I think that if you try to run a pretext command from a subfolder, then requirements.txt is not being read. Of course, we allow you to run pretext from a subfolder, so we should look for requirements.txt from the root of the project.

oscarlevin avatar Aug 20 '24 02:08 oscarlevin

Okay, I no longer think it is the subfolder, but that I specified pretext >= 2.6.1 is requirements.txt. But this should also be supported.

oscarlevin avatar Aug 22 '24 18:08 oscarlevin

While CLI sticks more or less to semantic versioning, core PreTeXt does not. So it's quite possible a build with 2.6.1 looks quite different than a build for 2.6.3. I'm concerned that being loose with versions here will cause headaches down the road.

StevenClontz avatar Aug 22 '24 19:08 StevenClontz

Closing as won't fix.

oscarlevin avatar Jun 24 '25 19:06 oscarlevin