GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||
GeezerVison is showing github.com — Make pygments mandatory and fix string highlighting by The-Compiler · Pull Request #13189 · pytest-dev/pytest Conversation
This was referenced
nicoddemus
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Awesome, thanks!
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
The-Compiler
force-pushed
the
pygments-improvements
branch
from
747caba to
44e9f68
Compare
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
BenjaminSchubert
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks great, thanks!
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
KotlinIsland
reviewed
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. awesome PR, this is a very welcome change I think it would make sense to document the extra somewhere. explain why it exists/what it does
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
I have no idea what pygments is/does, and I have no idea how to discover if a package has any extras or not. I think not stating that this extra functionality is available would be a disservice to your users 🙂 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR makes it a dependency, not an extra. You don't need to know it exists, you will just get syntax highlighting after installing pytest. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
oh, my mistake! sorry, okay that's great! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
44e9f68 to
ca6557e
Compare
ca6557e to
cb089b6
Compare
|
@Pierre-Sassoulas @Zac-HD @RonnyPfannschmidt Do you have any objections/concerns with adding Pygments as a default dependency (at least until PEP 771 – Default Extras for Python Software Packages | peps.python.org is a thing), or should I merge this? (Sorry for the explicit ping - not asking for a full review as I think we have this covered, just for an opinion on the dependency because I'd like to give everyone a chance to speak up if there is some implication I didn't consider) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
In general I prefer minimal dependencies, but I think the case for Pygments is strong enough to add it in this case. If we do get a default-extras PEP I'd be keen to move it to that and make sure we test without it too though. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The PEP is now up for discussion, please leave a comment if you'd like to add your support or give other feedback: https://discuss.python.org/t/pep-771-default-extras-for-python-software-packages/79706 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
(🎁) color the diff of strings Add "color" install extra
There was an error while loading. Please reload this page.