-
Notifications
You must be signed in to change notification settings - Fork 826
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
Make devtools deps extras, add note to internal ref docs, raise excep… #579
Conversation
@@ -25,7 +25,7 @@ jobs: | |||
version: 1.1.6 | |||
virtualenvs-in-project: true | |||
- name: Install dependencies | |||
run: poetry install | |||
run: poetry install --extras "dev" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
msgpack = "^1.0.3" | ||
|
||
# Dependencies below are required for devtools only | ||
aiohttp = { version = "^3.8.1", optional = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@willmcgugan Do we move click
into the dev
extras too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so. Is it possible to install the textual
command only with dev
extras?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand the question, but I don't believe you can install only the extras.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should only install the textual
CLI when you pip install textual[dev]
. Because we don't need it just to distribute apps. Is that possible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe so. Think we'd have to distribute the devtools as a separate package.
@@ -0,0 +1,12 @@ | |||
# Devtools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are more just notes to remind us what to include in the docs when the structure is in place. They're not the final docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👌
#579) * Make devtools deps extras, add note to internal ref docs, raise exception when deps missing * Ensure dev extras are installed in GitHub Actions * Update lockfile * Add extra docs note * Add a TODO about adding link to devtools docs * Add click to dev extras dependencies in pyproject
…tion when deps missing