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

Make devtools deps extras, add note to internal ref docs, raise excep… #579

Merged
merged 6 commits into from
Jun 15, 2022

Conversation

darrenburns
Copy link
Member

…tion when deps missing

@darrenburns darrenburns linked an issue Jun 15, 2022 that may be closed by this pull request
@@ -25,7 +25,7 @@ jobs:
version: 1.1.6
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install
run: poetry install --extras "dev"
Copy link
Member Author

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 }
Copy link
Member Author

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?

Copy link
Collaborator

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?

Copy link
Member Author

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.

Copy link
Collaborator

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?

Copy link
Member Author

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
Copy link
Member Author

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.

@darrenburns darrenburns marked this pull request as ready for review June 15, 2022 09:20
Copy link

@olivierphi olivierphi left a comment

Choose a reason for hiding this comment

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

LGTM! 👌

@darrenburns darrenburns merged commit c788724 into css Jun 15, 2022
@darrenburns darrenburns deleted the devtools-optional branch June 15, 2022 10:49
willmcgugan pushed a commit that referenced this pull request Jun 17, 2022
#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
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.

Dev dependencies
3 participants