wexample-wex-addon-dev-python 15.5.4__py3-none-any.whl → 15.6.0__py3-none-any.whl

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.
@@ -495,7 +495,14 @@ class PythonPackageWorkdir(PythonWorkdir):
495
495
  version = self.get_setup_version()
496
496
  registry_url = self.get_gitlab_registry_url()
497
497
 
498
- index = PypiRegistryGateway(base_url=registry_url, io=self.io, timeout=10)
498
+ # With the suite's token: a private group answers nobody else.
499
+ index = PypiRegistryGateway(
500
+ base_url=registry_url,
501
+ username="__token__",
502
+ token=self.get_env_parameter_or_suite_fallback("GITLAB_API_TOKEN"),
503
+ io=self.io,
504
+ timeout=10,
505
+ )
499
506
  if index.has_version(package_name, version) and not force:
500
507
  self.log(f"{package_name} {version} is already on the GitLab registry.")
501
508
  return
@@ -592,6 +599,11 @@ class PythonPackageWorkdir(PythonWorkdir):
592
599
  ).get_str_or_none()
593
600
  or "__token__"
594
601
  )
602
+ # The suite's GitLab registry, with the suite's token: a private group
603
+ # answers nobody else.
604
+ if self.get_gitlab_registry_url():
605
+ token = self.get_env_parameter_or_suite_fallback("GITLAB_API_TOKEN")
606
+ username = "__token__"
595
607
 
596
608
  package = self.get_package_name()
597
609
  version = self.get_setup_version()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wexample-wex-addon-dev-python
3
- Version: 15.5.4
3
+ Version: 15.6.0
4
4
  Summary: Extends wex with commands to format, lint, and rename Python symbols, plus workdir types for Python packages and suites
5
5
  Author-Email: weeger <contact@wexample.com>
6
6
  License: MIT
@@ -20,7 +20,7 @@ Requires-Dist: pyright
20
20
  Requires-Dist: wexample-api>=6.8.0
21
21
  Requires-Dist: wexample-filestate-python>=9.2.0
22
22
  Requires-Dist: wexample-wex-addon-ai>=19.1.0
23
- Requires-Dist: wexample-wex-addon-app>=34.10.0
23
+ Requires-Dist: wexample-wex-addon-app>=34.11.0
24
24
  Provides-Extra: dev
25
25
  Requires-Dist: pytest; extra == "dev"
26
26
  Requires-Dist: pytest-cov; extra == "dev"
@@ -28,7 +28,7 @@ Description-Content-Type: text/markdown
28
28
 
29
29
  # wex_addon_dev_python
30
30
 
31
- Version: 15.5.4
31
+ Version: 15.6.0
32
32
 
33
33
  Extends wex with commands to format, lint, and rename Python symbols, plus workdir types for Python packages and suites
34
34
 
@@ -1,6 +1,6 @@
1
- wexample_wex_addon_dev_python-15.5.4.dist-info/METADATA,sha256=hfFwpvnAsjCsEb5pZ1GAa91dsAyGl6zqPWYMNsCch0Q,3509
2
- wexample_wex_addon_dev_python-15.5.4.dist-info/WHEEL,sha256=IuIk3wbaEnFH1cx75iM2R1CmliRI3dFLXTbRakgvgFQ,90
3
- wexample_wex_addon_dev_python-15.5.4.dist-info/entry_points.txt,sha256=4WCjdYUa09eJPSM1ahhnId0BTg7ncgmLgeKtfKjuUy4,127
1
+ wexample_wex_addon_dev_python-15.6.0.dist-info/METADATA,sha256=Z8VlI8GSI-xYv0VXluxBzPdy9Hx6f_w_0FRy_7uLWA0,3509
2
+ wexample_wex_addon_dev_python-15.6.0.dist-info/WHEEL,sha256=IuIk3wbaEnFH1cx75iM2R1CmliRI3dFLXTbRakgvgFQ,90
3
+ wexample_wex_addon_dev_python-15.6.0.dist-info/entry_points.txt,sha256=4WCjdYUa09eJPSM1ahhnId0BTg7ncgmLgeKtfKjuUy4,127
4
4
  wexample_wex_addon_dev_python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  wexample_wex_addon_dev_python/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  wexample_wex_addon_dev_python/commands/code/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -85,7 +85,7 @@ wexample_wex_addon_dev_python/services/python/service.yml,sha256=28gvNQIzZ0T0PBw
85
85
  wexample_wex_addon_dev_python/workdir/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
86
  wexample_wex_addon_dev_python/workdir/mixin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
87
87
  wexample_wex_addon_dev_python/workdir/mixin/with_profiling_python_workdir_mixin.py,sha256=PA_kqwe2kF5t1nKakX5Q-6fant2R18aEnZfkjr6iJ6k,3097
88
- wexample_wex_addon_dev_python/workdir/python_package_workdir.py,sha256=ZJTnra7uDfuAOo_LvAMKd3jeI9Fgbw0RI_pG7AxScXg,23351
88
+ wexample_wex_addon_dev_python/workdir/python_package_workdir.py,sha256=N5NCfNI8vnNuDSbSy6ir-T4AEIprgLFsDTHj6t-sxt4,23852
89
89
  wexample_wex_addon_dev_python/workdir/python_packages_suite_workdir.py,sha256=7Jb5mKGNV2RjFtrFhUm6jbkiTfLDmy7sA97UGHITVdw,2902
90
90
  wexample_wex_addon_dev_python/workdir/python_workdir.py,sha256=1t4k3GX-3aNaV4aUb-NSstlDNtwPvmeGolPs9g3laI8,32833
91
- wexample_wex_addon_dev_python-15.5.4.dist-info/RECORD,,
91
+ wexample_wex_addon_dev_python-15.6.0.dist-info/RECORD,,