pyannotators-entityfishing 1.6.64__tar.gz → 1.6.67__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/PKG-INFO +1 -1
  2. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/src/pyannotators_entityfishing/__init__.py +1 -1
  3. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/submodules/python-archetype/vars/pythonPipeline.groovy +35 -25
  4. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/.claude/skills/ef-mapping/SKILL.md +0 -0
  5. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/.gitignore +0 -0
  6. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/.gitmodules +0 -0
  7. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/.python-version +0 -0
  8. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/README.md +0 -0
  9. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/Taskfile.yml +0 -0
  10. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/pyproject.toml +0 -0
  11. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/src/pyannotators_entityfishing/ef_client.py +0 -0
  12. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/src/pyannotators_entityfishing/entityfishing.py +0 -0
  13. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/submodules/python-archetype/.claude-plugin/marketplace.json +0 -0
  14. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/submodules/python-archetype/.claude-plugin/plugin.json +0 -0
  15. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/submodules/python-archetype/HOWTO.md +0 -0
  16. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/submodules/python-archetype/README.md +0 -0
  17. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/submodules/python-archetype/resources/Stages.yml +0 -0
  18. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/submodules/python-archetype/resources/Taskfile.yml +0 -0
  19. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/submodules/python-archetype/skills/new-plugin/SKILL.md +0 -0
  20. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/submodules/python-archetype/skills/new-plugin/references/types.md +0 -0
  21. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/submodules/python-archetype/tools/check-marketplace.py +0 -0
  22. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/tools/eval_mappings.py +0 -0
  23. {pyannotators_entityfishing-1.6.64 → pyannotators_entityfishing-1.6.67}/tools/wdfilter.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: pyannotators-entityfishing
3
- Version: 1.6.64
3
+ Version: 1.6.67
4
4
  Summary: Annotator based on entity-fishing
5
5
  Project-URL: Homepage, https://github.com/oterrier/pyannotators_entityfishing/
6
6
  Author-email: Olivier Terrier <olivier.terrier@kairntech.com>
@@ -1,3 +1,3 @@
1
1
  """Annotator based on entity-fishing"""
2
2
 
3
- __version__ = "1.6.64"
3
+ __version__ = "1.6.67"
@@ -211,6 +211,28 @@ def call(Map config = [:]) {
211
211
  }
212
212
  }
213
213
 
214
+ stage('py:sbom') {
215
+ steps {
216
+ sh 'task py:sbom'
217
+ }
218
+ }
219
+
220
+ stage('py:check-vulnerabilities') {
221
+ steps {
222
+ script {
223
+ // pip-audit ne voit que les paquets Python, jamais une couche OS : ce
224
+ // stage ne remplace pas un scan d'image, il couvre les dépendances.
225
+ if (env._BLOCK_ON_VULNS == 'true') {
226
+ sh 'task py:check-vulnerabilities'
227
+ } else {
228
+ catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
229
+ sh 'task py:check-vulnerabilities'
230
+ }
231
+ }
232
+ }
233
+ }
234
+ }
235
+
214
236
  stage('images:base') {
215
237
  when { expression { return stageDeclared('images:base') } }
216
238
  steps {
@@ -254,28 +276,6 @@ def call(Map config = [:]) {
254
276
  }
255
277
  }
256
278
 
257
- stage('py:sbom') {
258
- steps {
259
- sh 'task py:sbom'
260
- }
261
- }
262
-
263
- stage('py:check-vulnerabilities') {
264
- steps {
265
- script {
266
- // pip-audit ne voit que les paquets Python, jamais une couche OS : ce
267
- // stage ne remplace pas un scan d'image, il couvre les dépendances.
268
- if (env._BLOCK_ON_VULNS == 'true') {
269
- sh 'task py:check-vulnerabilities'
270
- } else {
271
- catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
272
- sh 'task py:check-vulnerabilities'
273
- }
274
- }
275
- }
276
- }
277
- }
278
-
279
279
  stage('version') {
280
280
  when {
281
281
  allOf {
@@ -545,7 +545,17 @@ Either add it here, or remove it from STAGES — not two lists drifting in silen
545
545
  """
546
546
  }
547
547
 
548
- /** The stages this pipeline runs, in order. Kept next to checkStageDrift so both change together. */
548
+ /**
549
+ * The stages this pipeline runs, in order. Kept next to checkStageDrift so both change together.
550
+ *
551
+ * L'ordre suit une seule regle : tout ce qui peut dire non passe avant ce qu'on ne peut pas
552
+ * defaire. 'version' pousse un commit et 'py:publish' envoie sur PyPI, qui est immuable -- ces
553
+ * deux-la sont les seuls a avoir un effet hors de l'agent, donc ils restent en queue, apres
554
+ * les portes. Les portes Python (py:sbom, py:check-vulnerabilities) et les portes d'image
555
+ * (images:scan) n'ont aucune dependance entre elles : aucun depot ne declare a la fois une roue
556
+ * et des images. Les premieres sont donc groupees avec py:test, pour que les stages py:* d'un
557
+ * depot a roue soient contigus et que les colonnes images:*, vides chez lui, ne les coupent pas.
558
+ */
549
559
  @groovy.transform.Field
550
560
  List<String> JENKINS_STAGES = [
551
561
  'init',
@@ -553,12 +563,12 @@ List<String> JENKINS_STAGES = [
553
563
  'py:lock-check',
554
564
  'py:lint',
555
565
  'py:test',
566
+ 'py:sbom',
567
+ 'py:check-vulnerabilities',
556
568
  'images:base',
557
569
  'images:flavors',
558
570
  'backport-proof',
559
571
  'images:scan',
560
- 'py:sbom',
561
- 'py:check-vulnerabilities',
562
572
  'version',
563
573
  'py:build',
564
574
  'py:publish',