Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"pdoc 15.0.1 does not provide the extra 'dev'" #768

Open
iFreilicht opened this issue Jan 28, 2025 · 1 comment
Open

"pdoc 15.0.1 does not provide the extra 'dev'" #768

iFreilicht opened this issue Jan 28, 2025 · 1 comment
Labels

Comments

@iFreilicht
Copy link
Contributor

Problem Description

I tried to follow CONTRIBUTING.md, but those instructions seem to be outdated, and when trying to install the dev dependencies with pip, I get this warning:

WARNING: pdoc 15.0.1 does not provide the extra 'dev'

As I understand, uv is being used as the tool of choice now, so I think the correct instructions would be:

uv venv
source .venv/bin/activate
uv sync

Is that right? If so, I can submit a PR for the docs.

Steps to reproduce the behavior:

  1. After cloning, run pip3 install -e '.[dev]'
  2. See the following output:
Obtaining file:///Users/feuh/repos/pdoc
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting Jinja2>=2.11.0 (from pdoc==15.0.1)
  Using cached jinja2-3.1.5-py3-none-any.whl.metadata (2.6 kB)
Collecting pygments>=2.12.0 (from pdoc==15.0.1)
  Using cached pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB)
Collecting MarkupSafe>=1.1.1 (from pdoc==15.0.1)
  Using cached MarkupSafe-3.0.2-cp312-cp312-macosx_11_0_arm64.whl.metadata (4.0 kB)
WARNING: pdoc 15.0.1 does not provide the extra 'dev'
Using cached jinja2-3.1.5-py3-none-any.whl (134 kB)
Using cached MarkupSafe-3.0.2-cp312-cp312-macosx_11_0_arm64.whl (12 kB)
Using cached pygments-2.19.1-py3-none-any.whl (1.2 MB)
Building wheels for collected packages: pdoc
  Building editable for pdoc (pyproject.toml) ... done
  Created wheel for pdoc: filename=pdoc-15.0.1-0.editable-py3-none-any.whl size=6737 sha256=c2840538fb687061403cb53cbe172f0f805bda31c5532aa57f83c2641343d758
  Stored in directory: /private/var/folders/r5/60df70p56g9592_9zd77mdkw0000gn/T/pip-ephem-wheel-cache-2ykeuz47/wheels/e9/2c/54/ec9bb4154bd015ab06039a468fb8764885b7de700eeef3ad15
Successfully built pdoc
Installing collected packages: pygments, MarkupSafe, Jinja2, pdoc
Successfully installed Jinja2-3.1.5 MarkupSafe-3.0.2 pdoc-15.0.1 pygments-2.19.1

System Information

pdoc: 15.0.1
Python: 3.12.8
Platform: macOS-15.0.1-arm64-arm-64bit
@iFreilicht iFreilicht added the bug label Jan 28, 2025
@mhils
Copy link
Member

mhils commented Jan 28, 2025

Can you check if #769 works for you? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants