portable-python 1.9.6__tar.gz → 1.9.7__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.6/src/portable_python.egg-info → portable_python-1.9.7}/PKG-INFO +14 -2
  2. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/cpython.py +2 -2
  3. {portable_python-1.9.6 → portable_python-1.9.7/src/portable_python.egg-info}/PKG-INFO +14 -2
  4. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python.egg-info/SOURCES.txt +1 -1
  5. {portable_python-1.9.6 → portable_python-1.9.7}/tests/test_setup.py +1 -1
  6. {portable_python-1.9.6 → portable_python-1.9.7}/DEVELOP.md +0 -0
  7. {portable_python-1.9.6 → portable_python-1.9.7}/LICENSE +0 -0
  8. {portable_python-1.9.6 → portable_python-1.9.7}/MANIFEST.in +0 -0
  9. {portable_python-1.9.6 → portable_python-1.9.7}/README.rst +0 -0
  10. {portable_python-1.9.6 → portable_python-1.9.7}/SECURITY.md +0 -0
  11. {portable_python-1.9.6 → portable_python-1.9.7}/pyproject.toml +0 -0
  12. {portable_python-1.9.6 → portable_python-1.9.7}/requirements.txt +0 -0
  13. {portable_python-1.9.6 → portable_python-1.9.7}/setup.cfg +0 -0
  14. {portable_python-1.9.6 → portable_python-1.9.7}/setup.py +0 -0
  15. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/__init__.py +0 -0
  16. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/__main__.py +0 -0
  17. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/cli.py +0 -0
  18. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/config.py +0 -0
  19. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/external/__init__.py +0 -0
  20. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/external/_inspect.py +0 -0
  21. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/external/xcpython.py +0 -0
  22. /portable_python-1.9.6/src/portable_python/external/tkinter.py → /portable_python-1.9.7/src/portable_python/external/xtkinter.py +0 -0
  23. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/inspector.py +0 -0
  24. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/tracking.py +0 -0
  25. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python/versions.py +0 -0
  26. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python.egg-info/dependency_links.txt +0 -0
  27. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python.egg-info/entry_points.txt +0 -0
  28. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python.egg-info/requires.txt +0 -0
  29. {portable_python-1.9.6 → portable_python-1.9.7}/src/portable_python.egg-info/top_level.txt +0 -0
  30. {portable_python-1.9.6 → portable_python-1.9.7}/tests/test_build.py +0 -0
  31. {portable_python-1.9.6 → portable_python-1.9.7}/tests/test_cleanup.py +0 -0
  32. {portable_python-1.9.6 → portable_python-1.9.7}/tests/test_failed.py +0 -0
  33. {portable_python-1.9.6 → portable_python-1.9.7}/tests/test_inspector.py +0 -0
  34. {portable_python-1.9.6 → portable_python-1.9.7}/tests/test_invoker.py +0 -0
  35. {portable_python-1.9.6 → portable_python-1.9.7}/tests/test_list.py +0 -0
  36. {portable_python-1.9.6 → portable_python-1.9.7}/tests/test_prefix.py +0 -0
  37. {portable_python-1.9.6 → portable_python-1.9.7}/tests/test_recompress.py +0 -0
  38. {portable_python-1.9.6 → portable_python-1.9.7}/tests/test_report.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: portable-python
3
- Version: 1.9.6
3
+ Version: 1.9.7
4
4
  Summary: Portable python binaries
5
5
  Home-page: https://github.com/codrsquad/portable-python
6
6
  Author: Zoran Simic
@@ -38,6 +38,18 @@ Requires-Dist: pyyaml~=6.0
38
38
  Requires-Dist: requests<3.0
39
39
  Requires-Dist: runez~=5.0
40
40
  Requires-Dist: urllib3~=1.26
41
+ Dynamic: author
42
+ Dynamic: author-email
43
+ Dynamic: classifier
44
+ Dynamic: description
45
+ Dynamic: description-content-type
46
+ Dynamic: home-page
47
+ Dynamic: keywords
48
+ Dynamic: license
49
+ Dynamic: project-url
50
+ Dynamic: requires-dist
51
+ Dynamic: requires-python
52
+ Dynamic: summary
41
53
 
42
54
  Portable python binaries
43
55
  ========================
@@ -8,8 +8,8 @@ import yaml
8
8
  from runez.pyenv import Version
9
9
 
10
10
  from portable_python import LOG, patch_file, patch_folder, PPG, PythonBuilder
11
- from portable_python.external.tkinter import TkInter
12
11
  from portable_python.external.xcpython import Bdb, Bzip2, Gdbm, LibFFI, Openssl, Readline, Sqlite, Uuid, Xz, Zlib
12
+ from portable_python.external.xtkinter import TkInter
13
13
  from portable_python.inspector import LibAutoCorrect, PythonInspector
14
14
 
15
15
  # https://github.com/docker-library/python/issues/160
@@ -229,7 +229,7 @@ class Cpython(PythonBuilder):
229
229
 
230
230
  self.run_python(cmd)
231
231
 
232
- self.run_python("-mpip", "install", *runez.flattened(additional))
232
+ self.run_python("-mpip", "install", "--no-cache-dir", "--upgrade", *runez.flattened(additional))
233
233
 
234
234
  runez.abort_if(not runez.DRYRUN and not self.bin_python, f"Can't find bin/python in {self.bin_folder}")
235
235
  PPG.config.ensure_main_file_symlinks(self)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: portable-python
3
- Version: 1.9.6
3
+ Version: 1.9.7
4
4
  Summary: Portable python binaries
5
5
  Home-page: https://github.com/codrsquad/portable-python
6
6
  Author: Zoran Simic
@@ -38,6 +38,18 @@ Requires-Dist: pyyaml~=6.0
38
38
  Requires-Dist: requests<3.0
39
39
  Requires-Dist: runez~=5.0
40
40
  Requires-Dist: urllib3~=1.26
41
+ Dynamic: author
42
+ Dynamic: author-email
43
+ Dynamic: classifier
44
+ Dynamic: description
45
+ Dynamic: description-content-type
46
+ Dynamic: home-page
47
+ Dynamic: keywords
48
+ Dynamic: license
49
+ Dynamic: project-url
50
+ Dynamic: requires-dist
51
+ Dynamic: requires-python
52
+ Dynamic: summary
41
53
 
42
54
  Portable python binaries
43
55
  ========================
@@ -22,8 +22,8 @@ src/portable_python.egg-info/requires.txt
22
22
  src/portable_python.egg-info/top_level.txt
23
23
  src/portable_python/external/__init__.py
24
24
  src/portable_python/external/_inspect.py
25
- src/portable_python/external/tkinter.py
26
25
  src/portable_python/external/xcpython.py
26
+ src/portable_python/external/xtkinter.py
27
27
  tests/test_build.py
28
28
  tests/test_cleanup.py
29
29
  tests/test_failed.py
@@ -11,7 +11,7 @@ def test_config(cli):
11
11
 
12
12
  cli.run("-ntmacos-arm64", "-c", cli.tests_path("sample-config1.yml"), "build", "3.9.7", "-mnone")
13
13
  assert cli.succeeded
14
- assert " -mpip install my-additional-package" in cli.logged
14
+ assert " -mpip install --no-cache-dir --upgrade my-additional-package" in cli.logged
15
15
  assert "env MACOSX_DEPLOYMENT_TARGET=12" in cli.logged # Comes from more specific macos-arm64.yml
16
16
  assert " -> dist/cpython-3.9.7-macos-arm64.tar.xz" in cli.logged # Comes from macos.yml (not defined in macos-arm64.yml)
17
17
  cli.match("Would run: build/cpython-.../bin/python -mpip install -U wheel")
File without changes