Skip to content

Conversation

@avivajpeyi
Copy link
Collaborator

@avivajpeyi avivajpeyi commented Dec 4, 2024

The repo has a bunch of extra, unsused requirements.txt files, while all the requirements are already in the setup.py.

This PR removes the redundant requirements.txt files, ane updates the setup.py with the correct versions from the old requirements.txt.

This PR also removes an extra duplicate of an older version of the RTD config file (there should only be one file).

There are some missing packages in `setup.py`[docs] compared to online_docs/requirement.txt

Here we make sure both have the same stuff.


TBH -- do we need anything in online_docs/requirement.txt? 

Or even `requirements.txt`?

Isnt everything in `setup.py`?
@avivajpeyi avivajpeyi changed the title Update setup.py with more doc requirements Remove unused RTD files (extra RTD, extra requirements.txt) Dec 4, 2024
Copy link
Collaborator

@jeffriley jeffriley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks @avivajpeyi

@jeffriley jeffriley merged commit 4002331 into dev Dec 5, 2024
1 check passed
@jeffriley jeffriley deleted the match_doc_installs_in_setup_and_online_docs branch December 5, 2024 06:57
@ilyamandel
Copy link
Collaborator

@avivajpeyi -- I think this might be related to the latest changes: CI is failing, again.

Error: No file in /home/runner/work/COMPAS/COMPAS matched to [**/requirements.txt or **/pyproject.toml], make sure you have checked out the target repository

(e.g., https://github.com/TeamCOMPAS/COMPAS/actions/runs/12175865123 )

@avivajpeyi
Copy link
Collaborator Author

This is rather embarrassing... I didnt think that there would be any side effects! I thought I searched for all references to requirements.txt.

Ill fix this ASAP

@avivajpeyi
Copy link
Collaborator Author

Fixed in #1306

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.

4 participants