portable-python 1.9.1__tar.gz → 1.9.2__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 (38) hide show
  1. {portable-python-1.9.1/src/portable_python.egg-info → portable_python-1.9.2}/PKG-INFO +2 -2
  2. {portable-python-1.9.1 → portable_python-1.9.2}/pyproject.toml +1 -1
  3. {portable-python-1.9.1 → portable_python-1.9.2}/requirements.txt +1 -1
  4. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/__init__.py +13 -1
  5. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/external/xcpython.py +1 -1
  6. {portable-python-1.9.1 → portable_python-1.9.2/src/portable_python.egg-info}/PKG-INFO +2 -2
  7. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python.egg-info/requires.txt +1 -1
  8. {portable-python-1.9.1 → portable_python-1.9.2}/DEVELOP.md +0 -0
  9. {portable-python-1.9.1 → portable_python-1.9.2}/LICENSE +0 -0
  10. {portable-python-1.9.1 → portable_python-1.9.2}/MANIFEST.in +0 -0
  11. {portable-python-1.9.1 → portable_python-1.9.2}/README.rst +0 -0
  12. {portable-python-1.9.1 → portable_python-1.9.2}/SECURITY.md +0 -0
  13. {portable-python-1.9.1 → portable_python-1.9.2}/setup.cfg +0 -0
  14. {portable-python-1.9.1 → portable_python-1.9.2}/setup.py +0 -0
  15. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/__main__.py +0 -0
  16. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/cli.py +0 -0
  17. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/config.py +0 -0
  18. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/cpython.py +0 -0
  19. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/external/__init__.py +0 -0
  20. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/external/_inspect.py +0 -0
  21. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/external/tkinter.py +0 -0
  22. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/inspector.py +0 -0
  23. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/tracking.py +0 -0
  24. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python/versions.py +0 -0
  25. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python.egg-info/SOURCES.txt +0 -0
  26. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python.egg-info/dependency_links.txt +0 -0
  27. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python.egg-info/entry_points.txt +0 -0
  28. {portable-python-1.9.1 → portable_python-1.9.2}/src/portable_python.egg-info/top_level.txt +0 -0
  29. {portable-python-1.9.1 → portable_python-1.9.2}/tests/test_build.py +0 -0
  30. {portable-python-1.9.1 → portable_python-1.9.2}/tests/test_cleanup.py +0 -0
  31. {portable-python-1.9.1 → portable_python-1.9.2}/tests/test_failed.py +0 -0
  32. {portable-python-1.9.1 → portable_python-1.9.2}/tests/test_inspector.py +0 -0
  33. {portable-python-1.9.1 → portable_python-1.9.2}/tests/test_invoker.py +0 -0
  34. {portable-python-1.9.1 → portable_python-1.9.2}/tests/test_list.py +0 -0
  35. {portable-python-1.9.1 → portable_python-1.9.2}/tests/test_prefix.py +0 -0
  36. {portable-python-1.9.1 → portable_python-1.9.2}/tests/test_recompress.py +0 -0
  37. {portable-python-1.9.1 → portable_python-1.9.2}/tests/test_report.py +0 -0
  38. {portable-python-1.9.1 → portable_python-1.9.2}/tests/test_setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: portable-python
3
- Version: 1.9.1
3
+ Version: 1.9.2
4
4
  Summary: Portable python binaries
5
5
  Home-page: https://github.com/codrsquad/portable-python
6
6
  Author: Zoran Simic
@@ -36,7 +36,7 @@ License-File: LICENSE
36
36
  Requires-Dist: click~=8.0
37
37
  Requires-Dist: pyyaml~=6.0
38
38
  Requires-Dist: requests<3.0
39
- Requires-Dist: runez~=5.0.0
39
+ Requires-Dist: runez~=5.0
40
40
  Requires-Dist: urllib3~=1.26
41
41
 
42
42
  Portable python binaries
@@ -70,7 +70,7 @@ max-complexity = 14
70
70
  [tool.ruff.lint.pydocstyle]
71
71
  convention = "numpy"
72
72
 
73
- [tool.ruff.per-file-ignores]
73
+ [tool.ruff.lint.per-file-ignores]
74
74
  "tests/*" = [
75
75
  "S", # No security checks for tests
76
76
  ]
@@ -1,5 +1,5 @@
1
1
  click~=8.0
2
2
  pyyaml~=6.0
3
3
  requests<3.0
4
- runez~=5.0.0
4
+ runez~=5.0
5
5
  urllib3~=1.26
@@ -526,10 +526,15 @@ class ModuleBuilder:
526
526
 
527
527
  def xenv_PATH(self):
528
528
  yield f"{self.deps}/bin"
529
+ yield from os.environ.get("PATH", "").split(":")
529
530
  yield "/usr/bin"
530
531
  yield "/bin"
531
532
 
533
+ def xenv_LD_LIBRARY_PATH(self):
534
+ yield from os.environ.get("LD_LIBRARY_PATH", "").split(":")
535
+
532
536
  def xenv_PKG_CONFIG_PATH(self):
537
+ yield from os.environ.get("PKG_CONFIG_PATH", "").split(":")
533
538
  if self.modules.selected:
534
539
  yield f"{self.deps_lib}/pkgconfig"
535
540
 
@@ -605,7 +610,14 @@ class ModuleBuilder:
605
610
  basename = runez.basename(self.url, extension_marker="#")
606
611
  path = self.setup.folders.sources / basename
607
612
  if not path.exists():
608
- RestClient().download(self.url, path)
613
+ proxies = {}
614
+ http_proxy = os.environ.get("HTTP_PROXY") or os.environ.get("http_proxy")
615
+ if http_proxy:
616
+ proxies["http"] = http_proxy
617
+ https_proxy = os.environ.get("HTTPS_PROXY") or os.environ.get("https_proxy")
618
+ if https_proxy:
619
+ proxies["https"] = https_proxy
620
+ RestClient().download(self.url, path, proxies=proxies)
609
621
 
610
622
  runez.decompress(path, self.m_src_build, simplify=True)
611
623
 
@@ -149,7 +149,7 @@ class Openssl(ModuleBuilder):
149
149
  def version(self):
150
150
  # See https://endoflife.date/openssl
151
151
  # This default here picks the most conservative longest supported version
152
- return self.cfg_version("3.0.13")
152
+ return self.cfg_version("3.0.15")
153
153
 
154
154
  def c_configure_args(self):
155
155
  yield "--openssldir=/etc/ssl"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: portable-python
3
- Version: 1.9.1
3
+ Version: 1.9.2
4
4
  Summary: Portable python binaries
5
5
  Home-page: https://github.com/codrsquad/portable-python
6
6
  Author: Zoran Simic
@@ -36,7 +36,7 @@ License-File: LICENSE
36
36
  Requires-Dist: click~=8.0
37
37
  Requires-Dist: pyyaml~=6.0
38
38
  Requires-Dist: requests<3.0
39
- Requires-Dist: runez~=5.0.0
39
+ Requires-Dist: runez~=5.0
40
40
  Requires-Dist: urllib3~=1.26
41
41
 
42
42
  Portable python binaries
@@ -1,5 +1,5 @@
1
1
  click~=8.0
2
2
  pyyaml~=6.0
3
3
  requests<3.0
4
- runez~=5.0.0
4
+ runez~=5.0
5
5
  urllib3~=1.26
File without changes