Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lock-deps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

set -x
uv lock --upgrade
uv pip compile pyproject.toml --upgrade --universal -o requirements.txt --python-version 3.10 --group dev
48 changes: 48 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml --universal -o requirements.txt --python-version 3.10 --group dev
certifi==2026.4.22
# via requests
charset-normalizer==3.4.7
# via requests
click==8.3.3
# via portable-python (pyproject.toml)
colorama==0.4.6 ; sys_platform == 'win32'
# via
# click
# pytest
coverage==7.13.5
# via pytest-cov
exceptiongroup==1.3.1 ; python_full_version < '3.11'
# via pytest
idna==3.13
# via requests
iniconfig==2.3.0
# via pytest
packaging==26.2
# via pytest
pluggy==1.6.0
# via
# pytest
# pytest-cov
pygments==2.20.0
# via pytest
pytest==9.0.3
# via pytest-cov
pytest-cov==7.1.0
# via portable-python (pyproject.toml:dev)
pyyaml==6.0.3
# via portable-python (pyproject.toml)
requests==2.33.1
# via portable-python (pyproject.toml)
runez==5.9.1
# via portable-python (pyproject.toml)
tomli==2.4.1 ; python_full_version <= '3.11'
# via
# coverage
# pytest
typing-extensions==4.15.0 ; python_full_version < '3.11'
# via exceptiongroup
urllib3==2.6.3
# via
# portable-python (pyproject.toml)
# requests
4 changes: 2 additions & 2 deletions tests/test_inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_inspect_python(temp_folder, monkeypatch):
OTOOL_SAMPLE = """
.../test-sample.so:
....../foo/bar.dylib (compatibility version 8.0.0, current version 8.4.0)
/usr/local/opt/gdbm/lib/libgdbm_compat.4.dylib (compatibility version 5.0.0, current version 5.0.0)
/some/path/gdbm/lib/libgdbm_compat.4.dylib (compatibility version 5.0.0, current version 5.0.0)
@rpath/libssl.45.dylib (compatibility version 46.0.0, current version 46.1.0)
/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.0.0)
Expand Down Expand Up @@ -84,7 +84,7 @@ def test_inspect_lib(logged):
assert str(info1) == "_dbm*!.so"
info1.parse_otool(OTOOL_SAMPLE)
r = info1.represented()
assert r == "_dbm*!.so foo/bar.dylib:8.4.0 /usr/local/opt/gdbm/lib/libgdbm_compat.4.dylib:5.0.0 ncurses:5.4.0"
assert r == "_dbm*!.so foo/bar.dylib:8.4.0 /some/path/gdbm/lib/libgdbm_compat.4.dylib:5.0.0 ncurses:5.4.0"
rv = info1.represented(verbose=True)
assert "[base] @rpath/libssl.45.dylib 46.1.0" in rv

Expand Down
Loading