MCPcopy Create free account
hub / github.com/PRQL/prql / _install_prqlc

Function _install_prqlc

prqlc/bindings/prqlc-python/noxfile.py:20–32  ·  view source on GitHub ↗
(session: Session)

Source from the content-addressed store, hash-verified

18
19
20def _install_prqlc(session: Session) -> None:
21 # Use uv for installation which is much faster
22 session.install(
23 "-v",
24 # We'd like to prevent `prqlc` from being installed from PyPI, but we do
25 # want to install its dependencies from there, and currently there's no way in
26 # plain pip of doing that (https://github.com/pypa/pip/issues/11440).
27 # "--no-index",
28 f"--find-links={Path('..', '..', '..', 'target', 'python')}",
29 "prqlc",
30 )
31 # Install dev dependencies separately since we're using dependency-groups
32 session.install("pytest>=7", "ty>=0.0.27")
33
34
35@nox.session(python=VERSIONS) # type: ignore[misc]

Callers 2

testsFunction · 0.85
typingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected