-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Labels
Description
docs: freeze> python -m pip freeze --all
docs: pip==25.1.1,setuptools==80.9.0
docs: commands[0]> poetry run python -VV
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
docs: commands[1]> poetry install -v --only main,docs
Using virtualenv: C:\ar\_work\nidaqmx-python\nidaqmx-python\.tox\docs
Checking keyring availability: Available
Installing dependencies from lock file
Finding the necessary packages for the current system
Package operations: 35 installs, 0 updates, 0 removals, 2 skipped
- Installing certifi (2025.7.14)
- Installing charset-normalizer (3.4.2)
- Installing idna (3.10)
- Installing markupsafe (3.0.2)
- Installing urllib3 (2.5.0)
- Installing alabaster (1.0.0)
- Installing babel (2.17.0)
- Installing colorama (0.4.6)
- Installing imagesize (1.4.1)
- Installing jinja2 (3.1.6)
- Installing docutils (0.21.2)
- Installing packaging (25.0)
- Installing pygments (2.19.2)
- Installing requests (2.32.5)
- Installing roman-numerals-py (3.1.0)
- Installing snowballstemmer (3.0.1)
- Installing sphinxcontrib-applehelp (2.0.0)
- Installing sphinxcontrib-devhelp (2.0.0)
- Installing sphinxcontrib-htmlhelp (2.1.0)
- Installing sphinxcontrib-jsmath (1.0.1)
- Installing sphinxcontrib-qthelp (2.0.0)
- Installing sphinxcontrib-serializinghtml (2.0.0)
- Installing sphinx (8.2.3)
- Installing hightime (0.2.2)
- Installing numpy (2.3.2)
- Installing sphinxcontrib-jquery (4.1)
- Installing typing-extensions (4.15.0)
- Installing tzdata (2025.2)
- Installing click (8.3.0)
- Installing deprecation (2.1.0)
- Installing grpcio (1.75.1): Skipped for the following reason: Not required
- Installing nitypes (0.1.0.dev10)
- Installing protobuf (6.32.1): Skipped for the following reason: Not required
- Installing python-decouple (3.8)
- Installing sphinx-rtd-theme (3.0.2)
- Installing toml (0.10.2)
- Installing tzlocal (5.3.1)
RuntimeError
Hash for sphinx-rtd-theme (3.0.2) from archive sphinx_rtd_theme-3.0.2-py2.py3-none-any.whl not found in known hashes (was: sha256:ec9588fa3f51822075c466c9ff2a80e97f6a4f807826d5ddedf9cd1dfc045645)
at C:\ar\_work\_temp\poetry\home\Lib\site-packages\poetry\installation\executor.py:794 in _validate_archive_hash
790│
791│ archive_hash = f"{hash_type}:{get_file_hash(archive, hash_type)}"
792│
793│ if archive_hash not in known_hashes:
→ 794│ raise RuntimeError(
795│ f"Hash for {package} from archive {archive.name} not found in"
796│ f" known hashes (was: {archive_hash})"
797│ )
798│
Cannot install sphinx-rtd-theme.
docs: exit 1 (13.62 seconds) C:\ar\_work\nidaqmx-python\nidaqmx-python> poetry install -v --only main,docs pid=4520
Indeed, poetry.lock has these hashes:
[[package]]
name = "sphinx-rtd-theme"
version = "3.0.2"
description = "Read the Docs theme for Sphinx"
optional = false
python-versions = ">=3.8"
groups = ["docs"]
files = [
{file = "sphinx_rtd_theme-3.0.2-py2.py3-none-any.whl", hash = "sha256:422ccc750c3a3a311de4ae327e82affdaf59eb695ba4936538552f3b00f4ee13"},
{file = "sphinx_rtd_theme-3.0.2.tar.gz", hash = "sha256:b7457bc25dda723b20b086a670b9953c859eab60a2a03ee8eb2bb23e176e5f85"},
]
The hashes on the PyPI web UI match poetry.lock:
- wheel: 422ccc750c3a3a311de4ae327e82affdaf59eb695ba4936538552f3b00f4ee13
- sdist: b7457bc25dda723b20b086a670b9953c859eab60a2a03ee8eb2bb23e176e5f85
Originally posted by @bkeryan in #856 (comment)