Skip to content

Conversation

@p-r-a-v-i-n
Copy link
Member

since we are using pyproject.toml depending on extra file for dependency is redundant. we should use the power of pyproject.toml to take care of it.

according PEP 735 we can use dependency groups which is more convenient.

@p-r-a-v-i-n p-r-a-v-i-n marked this pull request as draft December 11, 2025 08:29
@github-actions
Copy link

github-actions bot commented Dec 11, 2025

Coverage report

This PR does not seem to contain any modification to coverable code.

@p-r-a-v-i-n p-r-a-v-i-n marked this pull request as ready for review December 11, 2025 08:51
@p-r-a-v-i-n p-r-a-v-i-n force-pushed the rm-requirements branch 2 times, most recently from f5cec10 to b3bab6b Compare December 15, 2025 12:55
Copy link
Member

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

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

Thank you for iterating on this. I still have some open questions unfortunately. I'm sorry for the slow responses.

@p-r-a-v-i-n
Copy link
Member Author

Hey @tim-schilling ,
I like working with you. I like your insights. and your feedback really helps me understand things even more better.

Currently I have some thoughts in my mind.

  1. I have strong believe that for building docs it will pick pip install --group docs, but it just assumption no strong evidence ( bcs no experience).
  2. I'm not sure whether this changes are absolutely requires at this movement. Honestly, I submitted this PR for my personal milestone , and I understood personal milestone should not be greater than the project need. Project requirement should be the first priority.

I'm happy to iterate as per the feedback. and I'm happy answer/discuss questions. Thank you.

.. code-block:: bash
pip install -r requirements_dev.txt
pip install --group dev
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
pip install --group dev
pip install --group dev --group docs

This is referring to the documentation dependencies. I suspect we need to change all the references? Or have the dev group also include the docs group.

Copy link
Member

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

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

This is a different workflow than I'm used to, though I think it's close to a mergeable state. @matthiask or I will need to check on the readthedocs integration after this gets merged. It's probably a good idea regardless since it's been a while since I've looked at that.

I'd like to get opinions from @django-commons/django-debug-toolbar on whether this is +1, 0 or -1 type thing. For me, I'm very used to pip install -r requirements_dev.txt. I suspect I will get tripped up by this change for a while. That said, I'm a 0 on it. I like the docs dependency group for read the docs.

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.

2 participants