Skip to content

install_requirements.py: reorganize requirements #7705

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 22 commits into from
Jan 17, 2025
Merged

Conversation

swolchok
Copy link
Contributor

Duplicate requirements with the pyproject.toml > /dev/null
One unique devel reqiurement > requirements-dev.txt
Examples requirements > requirements-examples.txt
Nightlies stayed in the script.

Rationale: be as "normal" a Python project as seemed possible.

Test Plan: install_requirements.sh in a clean venv succeeded

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
Copy link

pytorch-bot bot commented Jan 16, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7705

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

⏳ No Failures, 2 Pending

As of commit a309d3d with merge base 1a6b7a6 (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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 16, 2025
swolchok added a commit that referenced this pull request Jan 16, 2025
Duplicate requirements with the pyproject.toml > /dev/null
One unique devel reqiurement > requirements-dev.txt
Examples requirements > requirements-examples.txt
Nightlies stayed in the script.

Rationale: be as "normal" a Python project as seemed possible.

Test Plan: install_requirements.sh in a clean venv succeeded

ghstack-source-id: 115e64d
ghstack-comment-id: 2596313740
Pull Request resolved: #7705
@swolchok swolchok changed the title install_requirements.py: remove unnecessary requirements install_requirements.py: reorganize requirements Jan 16, 2025
@swolchok swolchok requested a review from mcr229 January 16, 2025 17:33
Comment on lines -118 to -127
"cmake", # For building binary targets.
"pip>=23", # For building the pip package.
"pyyaml", # Imported by the kernel codegen tools.
"setuptools>=63", # For building the pip package.
"tomli", # Imported by extract_sources.py when using python < 3.11.
"wheel", # For building the pip package archive.
"zstd", # Imported by resolve_buck.py.
Copy link
Contributor

Choose a reason for hiding this comment

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

do these need to be added to requirements-dev.txt?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no. they are in the pyproject.toml already.

[ghstack-poisoned]
@@ -0,0 +1,2 @@
# For visualizing ExportedPrograms
ai-edge-model-explorer >= 0.1.16
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't need this anymore

#7675

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
Base automatically changed from gh/swolchok/135/head to main January 17, 2025 00:41
[ghstack-poisoned]
@swolchok swolchok added the release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc. label Jan 17, 2025
@swolchok swolchok merged commit 5b9ab56 into main Jan 17, 2025
10 checks passed
@swolchok swolchok deleted the gh/swolchok/136/head branch January 17, 2025 17:16
huydhn added a commit that referenced this pull request Jan 24, 2025
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
Duplicate requirements with the pyproject.toml > /dev/null
One unique devel reqiurement > requirements-dev.txt
Examples requirements > requirements-examples.txt
Nightlies stayed in the script.

Rationale: be as "normal" a Python project as seemed possible.

Test Plan: install_requirements.sh in a clean venv succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants