@@ -728,49 +728,7 @@ See :ref:`pylock-packages-archive-hashes`.
728
728
Example
729
729
-------
730
730
731
- .. code-block :: TOML
732
-
733
- lock-version = '1.0'
734
- environments = ["sys_platform == 'win32'", "sys_platform == 'linux'"]
735
- requires-python = '==3.12'
736
- created-by = 'mousebender'
737
-
738
- [[packages]]
739
- name = 'attrs'
740
- version = '25.1.0'
741
- requires-python = '>=3.8'
742
- wheels = [
743
- {name = 'attrs-25.1.0-py3-none-any.whl', upload-time = 2025-01-25T11:30:10.164985+00:00, url = 'https://files.pythonhosted.org/packages/fc/30/d4986a882011f9df997a55e6becd864812ccfcd821d64aac8570ee39f719/attrs-25.1.0-py3-none-any.whl', size = 63152, hashes = {sha256 = 'c75a69e28a550a7e93789579c22aa26b0f5b83b75dc4e08fe092980051e1090a'}},
744
- ]
745
- [[packages.attestation-identities]]
746
- environment = 'release-pypi'
747
- kind = 'GitHub'
748
- repository = 'python-attrs/attrs'
749
- workflow = 'pypi-package.yml'
750
-
751
- [[packages]]
752
- name = 'cattrs'
753
- version = '24.1.2'
754
- requires-python = '>=3.8'
755
- dependencies = [
756
- {name = 'attrs'},
757
- ]
758
- wheels = [
759
- {name = 'cattrs-24.1.2-py3-none-any.whl', upload-time = 2024-09-22T14:58:34.812643+00:00, url = 'https://files.pythonhosted.org/packages/c8/d5/867e75361fc45f6de75fe277dd085627a9db5ebb511a87f27dc1396b5351/cattrs-24.1.2-py3-none-any.whl', size = 66446, hashes = {sha256 = '67c7495b760168d931a10233f979b28dc04daf853b30752246f4f8471c6d68d0'}},
760
- ]
761
-
762
- [[packages]]
763
- name = 'numpy'
764
- version = '2.2.3'
765
- requires-python = '>=3.10'
766
- wheels = [
767
- {name = 'numpy-2.2.3-cp312-cp312-win_amd64.whl', upload-time = 2025-02-13T16:51:21.821880+00:00, url = 'https://files.pythonhosted.org/packages/42/6e/55580a538116d16ae7c9aa17d4edd56e83f42126cb1dfe7a684da7925d2c/numpy-2.2.3-cp312-cp312-win_amd64.whl', size = 12626357, hashes = {sha256 = '83807d445817326b4bcdaaaf8e8e9f1753da04341eceec705c001ff342002e5d'}},
768
- {name = 'numpy-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl', upload-time = 2025-02-13T16:50:00.079662+00:00, url = 'https://files.pythonhosted.org/packages/39/04/78d2e7402fb479d893953fb78fa7045f7deb635ec095b6b4f0260223091a/numpy-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl', size = 16116679, hashes = {sha256 = '3b787adbf04b0db1967798dba8da1af07e387908ed1553a0d6e74c084d1ceafe'}},
769
- ]
770
-
771
- [tool.mousebender]
772
- command = ['.', 'lock', '--platform', 'cpython3.12-windows-x64', '--platform', 'cpython3.12-manylinux2014-x64', 'cattrs', 'numpy']
773
- run-on = 2025-03-06T12:28:57.760769
731
+ .. literalinclude :: pylock-toml/pylock.example.toml
774
732
775
733
776
734
------------
@@ -882,11 +840,11 @@ History
882
840
.. _HEAD : https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/HEAD
883
841
.. _PDM : https://pypi.org/project/pdm/
884
842
.. _pip-tools : https://pypi.org/project/pip-tools/
885
- .. _Poetry : https://python-poetry .org/
843
+ .. _Poetry : https://pypi .org/project/poetry /
886
844
.. _requirements file :
887
845
.. _requirements files : https://pip.pypa.io/en/stable/reference/requirements-file-format/
888
846
.. _software bill of materials : https://www.cisa.gov/sbom
889
847
.. _TOML : https://toml.io/
890
- .. _uv : https://github.com/astral-sh /uv
848
+ .. _uv : https://pypi.org/project /uv/
891
849
.. _URL : https://url.spec.whatwg.org/
892
850
.. _URL : https://url.spec.whatwg.org/
0 commit comments