Closed abrisco closed 5 months ago
It looks like whenever an existing solution is used the compilation results are different
requirements.in
requests-kerberos==0.14.0
Using the requirements.in file above we can reproduce this with the following commands
req-compile requirements.in --hashes --urls --annotate --verbose
requirements.macos.txt.clean:
requirements.macos.txt.clean
(verbose logs)
req-compile requirements.in --hashes --urls --annotate --verbose --solution requirements.macos.txt
requirements.macos.txt.incremental:
requirements.macos.txt.incremental
verbose logs:
The two compilation outputs have the following diff:
--- requirements.macos.txt.clean 2024-06-21 18:34:27 +++ requirements.macos.txt.incremental 2024-06-21 18:34:26 @@ -1,11 +1,10 @@ -# Compiled by Req-Compile (1.0.0rc21) on 2024-06-22 01:31:03.203191 UTC +# Compiled by Req-Compile (1.0.0rc21) on 2024-06-22 01:28:42.321036 UTC # # Inputs: # requirements.in # # Repositories (this annotation produced by --annotate): -# [0] --solution /Users/andrebrisco/Code/req-compile/private/tests/incremental/requirements.macos.txt -# [1] <default index> https://pypi.org/simple +# [0] <default index> https://pypi.org/simple certifi==2024.6.2 \ --hash=sha256:ddc6c8ce995e6987e7faf5e3f1b02b302836a0e5d98ece18392cb1a36c72ad56 @@ -29,11 +28,26 @@ # pyspnego # requests-kerberos (>=1.3) # https://files.pythonhosted.org/packages/60/12/f064af29190cdb1d38fe07f3db6126091639e1dece7ec77c4ff037d49193/cryptography-42.0.8-cp39-abi3-macosx_10_12_universal2.whl#sha256=dea567d1b0e8bc5764b9443858b673b734100c2871dc93163f58c46a97a83d28 +decorator==5.1.1 \ + --hash=sha256:b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186 + # [0] + # via gssapi + # https://files.pythonhosted.org/packages/d5/50/83c593b07763e1161326b3b8c6686f0f4b0f24d5526546bee538c89837d6/decorator-5.1.1-py3-none-any.whl#sha256=b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186 +gssapi==1.8.3 \ + --hash=sha256:ca6ceb17fc15eda2a69f2e8c6cf10d11e2edb32832255e5d4c65b21b6db4680a + # [0] + # via pyspnego[kerberos] (>=1.6.0) + # https://files.pythonhosted.org/packages/0a/c4/3b62db3b869e6a655f1d95f1ffe8a05777df32ed2b786da0ba963d863d45/gssapi-1.8.3-cp311-cp311-macosx_11_0_arm64.whl#sha256=ca6ceb17fc15eda2a69f2e8c6cf10d11e2edb32832255e5d4c65b21b6db4680a idna==3.7 \ --hash=sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0 # [0] # via requests (<4,>=2.5) # https://files.pythonhosted.org/packages/e5/3e/741d8c82801c347547f8a2a06aa57dbb1992be9e948df2ea0eda2c8b79e8/idna-3.7-py3-none-any.whl#sha256=82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0 +krb5==0.5.1 \ + --hash=sha256:2269fb6c0813cd7f58526a152d746aebb8e48026b92856093865414395c185e9 + # [0] + # via pyspnego[kerberos] (>=0.3.0) + # https://files.pythonhosted.org/packages/13/9b/1cdca966e543624a44c77e106c6d4bdf0e9a0f46694f8f5ce092742a31c9/krb5-0.5.1-cp311-cp311-macosx_11_0_arm64.whl#sha256=2269fb6c0813cd7f58526a152d746aebb8e48026b92856093865414395c185e9 pycparser==2.22 \ --hash=sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc # [0]
It looks like whenever an existing solution is used the compilation results are different
requirements.in
Using the
requirements.in
file above we can reproduce this with the following commandsrequirements.macos.txt.clean
:(verbose logs)
requirements.macos.txt.incremental
:verbose logs:
The two compilation outputs have the following diff: