Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't detect requirements.txt from subfolder #820

Open
oscarlevin opened this issue Aug 20, 2024 · 2 comments
Open

can't detect requirements.txt from subfolder #820

oscarlevin opened this issue Aug 20, 2024 · 2 comments

Comments

@oscarlevin
Copy link
Member

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
Copy link
Member Author

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.

@StevenClontz
Copy link
Member

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.

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

No branches or pull requests

2 participants