Skip to content

Minor typo + Update install_requirements.sh to support python 3.10 >= #1368

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

Merged
merged 4 commits into from
Nov 13, 2024

Conversation

Jack-Khuu
Copy link
Contributor

@Jack-Khuu Jack-Khuu commented Nov 12, 2024

Minor fixes to install_requirement (undefined variable) + Loosen the Python requirements to 3.10.0+

  • We can case out specific Python version as needed, but no need to restrict preemptively

Fails with 3.8

./install/install_requirements.sh
Using python executable: python3
Python version must be greater than 3.10.x. Detected version: 3.8

Works with 3.10.0

@Jack-Khuu Jack-Khuu requested a review from swolchok November 12, 2024 22:51
Copy link

pytorch-bot bot commented Nov 12, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchchat/1368

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit a2917ea with merge base 93f713f (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 12, 2024
@Jack-Khuu Jack-Khuu marked this pull request as draft November 13, 2024 00:05
@Jack-Khuu
Copy link
Contributor Author

Going to use this PR to address some other related instrall_req bugs and open python to 3.10+

@Jack-Khuu Jack-Khuu changed the title Update install_requirements.sh to support python 3.10 >= , <3.13 Minor typo + Update install_requirements.sh to support python 3.10 >= Nov 13, 2024
@Jack-Khuu Jack-Khuu marked this pull request as ready for review November 13, 2024 03:07
fi
fi
echo "Using python executable: $PYTHON_EXECUTABLE"

PYTHON_SYS_VERSION="$($PYTHON_EXECUTABLE -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")"
# Check python version. Expect 3.10.x or 3.11.x
# Check python version. Expect greater than 3.10.x
Copy link
Contributor

Choose a reason for hiding this comment

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

word and code below seem mismatch -- here we say greater than 3.10.x, but the code below is for greater than or equlal to 3.10

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated wording

@Gasoonjia Gasoonjia merged commit 2cf1a17 into main Nov 13, 2024
52 checks passed
vmpuri pushed a commit that referenced this pull request Feb 4, 2025
…#1368)

* Update install_requirements.sh to support python 3.10 >= , <3.13

* Update install_requirements.sh

* Update install_requirements.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants