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

Changes to installation instructions #40

Merged
merged 5 commits into from
Jan 17, 2025
Merged

Conversation

r-williams-2
Copy link
Collaborator

@r-williams-2 r-williams-2 commented Jan 4, 2025

Now I have further investigated the issue, PyTorch is not supported on Python3.13. This was the issue that the reviewers were encountering, I reckon.

All tests pass for >=3.8 and <3.13. As such, I have changed the supported versions to also be in this range. I have updated the shield to be automatically pulled from the pyproject.toml file and there is now installation instructions with the Python version included. I am less inclined to state a specific version as I have no reason for the user to use 3.8 over 3.12, for example.

@r-williams-2 r-williams-2 marked this pull request as ready for review January 5, 2025 00:16
@r-williams-2 r-williams-2 self-assigned this Jan 5, 2025
@r-williams-2 r-williams-2 added the documentation Improvements or additions to documentation label Jan 5, 2025
@r-williams-2 r-williams-2 marked this pull request as draft January 5, 2025 14:18
README.md Outdated
@@ -40,8 +41,9 @@ Required dependencies are:

To create an environment in Anaconda, execute:
```sh
conda create -n pymecht
conda create -n pymecht python=3.X
Copy link
Owner

Choose a reason for hiding this comment

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

I think we can suggest a Python version (3.9 is what I have been using for the most part). And then mention in the comments below that users can choose another version out of ....

@ankushaggarwal
Copy link
Owner

Another suggestion: should we have only the "user" installation instructions in README.md and keep the "develop" installation instructions in "CONTRIBUTING.md"? We also have installation instructions in the readthedoc documentation. Maybe I will update it to match that in README.md

@r-williams-2
Copy link
Collaborator Author

The final decision about whether to only have the user install instructions in the README.md is up to you. I can do that but I am fine with both methods appearing on the front of the repo. CONTRIBUTING.md then covers other aspects such as PRs etc.

@r-williams-2 r-williams-2 marked this pull request as ready for review January 16, 2025 23:56
Copy link
Owner

@ankushaggarwal ankushaggarwal left a comment

Choose a reason for hiding this comment

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

Thanks @r-williams-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants