commit:     0c59e0c298945f2542d4c6174edce47318af317e
Author:     Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Sun Nov  9 12:54:05 2025 +0000
Commit:     Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Sun Nov  9 12:54:05 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=0c59e0c2

chore: add more deps to the VCS release check

Signed-off-by: Brian Harring <ferringb <AT> gmail.com>

 .github/workflows/release.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 545cc4f2..799ca3dc 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,7 +24,9 @@ jobs:
       shell: python
       run: |
         import re, tomllib
-        deps = tomllib.load(open('pyproject.toml', 
'rb'))['build-system']['requires']
+        manifest = tomllib.load(open('pyproject.toml', 'rb'))
+        deps = manifest['build-system']['requires']
+        deps.extend(manifest['project']['dependencies'])
         if rejects := list(filter(re.compile(r'@[^+]+').search, deps)):
           rejects = "  \n".join(sorted(rejects))
           raise Exception(f'VCS dependencies were detected in 
[build-system]:\n  {rejects}')

Reply via email to