Skip to content

Add a test_basic dependency group, which we can use in Fedora spec file#271

Draft
hroncok wants to merge 1 commit intofedora-infra:mainfrom
hroncok:test_basic_group
Draft

Add a test_basic dependency group, which we can use in Fedora spec file#271
hroncok wants to merge 1 commit intofedora-infra:mainfrom
hroncok:test_basic_group

Conversation

@hroncok
Copy link
Contributor

@hroncok hroncok commented Apr 16, 2025

This is a draft, proof of concept.


The idea is that in Fedora, we could replace this:

BuildRequires: python3dist(pytest)
BuildRequires: python3dist(pyyaml)

With:

%pyproject_buildrequires -g test_basic

Disclaimer: I have not tested this, I have not interacted with your lock file.

Other possible names of the group:

  • test_essential
  • test_minimal
  • test (and rename the other one to test_full etc.)

Signed-off-by: Miro Hrončok <miro@hroncok.cz>
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.

1 participant