-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
Switch to uv pip compile
#2958
base: master
Are you sure you want to change the base?
Switch to uv pip compile
#2958
Changes from 8 commits
f71fe81
6738ce4
76d8326
9f597e0
a20b4ce
6c8d62b
876d6a5
69b5868
7f211e5
a0a8b5a
4225702
6747417
383729f
72e3fbd
e5277f0
d75ef85
283e27b
148a995
1b95b71
7759de8
199160e
bb73318
42eceae
4f1438d
1748ca9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,73 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.8 | ||
# by the following command: | ||
# | ||
# pip-compile test-requirements.in | ||
# | ||
# This file was autogenerated by uv v0.1.1 via the following command: | ||
# uv pip compile --python-version=3.8 test-requirements.in -o test-requirements.txt | ||
alabaster==0.7.13 | ||
# via sphinx | ||
astor==0.8.1 | ||
# via -r test-requirements.in | ||
astroid==3.0.2 | ||
# via pylint | ||
async-generator==1.10 | ||
# via -r test-requirements.in | ||
attrs==23.2.0 | ||
# via | ||
# -r test-requirements.in | ||
# outcome | ||
# via outcome | ||
babel==2.14.0 | ||
# via sphinx | ||
black==24.1.1 ; implementation_name == "cpython" | ||
# via -r test-requirements.in | ||
build==1.0.3 | ||
# via pip-tools | ||
black==24.1.1 | ||
certifi==2024.2.2 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Huh, this change seems bugged There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Made a bug report astral-sh/uv#1429 |
||
# via requests | ||
cffi==1.16.0 | ||
# via cryptography | ||
charset-normalizer==3.3.2 | ||
# via requests | ||
click==8.1.7 | ||
# via | ||
# black | ||
# pip-tools | ||
# via black | ||
codespell==2.2.6 | ||
# via -r test-requirements.in | ||
coverage==7.4.1 | ||
# via -r test-requirements.in | ||
cryptography==42.0.2 | ||
# via | ||
# -r test-requirements.in | ||
# pyopenssl | ||
# trustme | ||
# types-pyopenssl | ||
dill==0.3.8 | ||
# via pylint | ||
docutils==0.20.1 | ||
# via sphinx | ||
exceptiongroup==1.2.0 ; python_version < "3.11" | ||
# via | ||
# -r test-requirements.in | ||
# pytest | ||
exceptiongroup==1.2.0 | ||
# via pytest | ||
idna==3.6 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change too seems wrong There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's intended, as we specify There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So I think that means we should have a |
||
# via | ||
# -r test-requirements.in | ||
# requests | ||
# trustme | ||
imagesize==1.4.1 | ||
# via sphinx | ||
importlib-metadata==7.0.1 | ||
# via | ||
# build | ||
# sphinx | ||
# via sphinx | ||
iniconfig==2.0.0 | ||
# via pytest | ||
isort==5.13.2 | ||
# via pylint | ||
jedi==0.19.1 | ||
# via -r test-requirements.in | ||
jinja2==3.1.3 | ||
# via sphinx | ||
markupsafe==2.1.5 | ||
# via jinja2 | ||
mccabe==0.7.0 | ||
# via pylint | ||
mypy==1.8.0 ; implementation_name == "cpython" | ||
# via -r test-requirements.in | ||
mypy-extensions==1.0.0 ; implementation_name == "cpython" | ||
mypy==1.8.0 | ||
mypy-extensions==1.0.0 | ||
# via | ||
# -r test-requirements.in | ||
# black | ||
# mypy | ||
nodeenv==1.8.0 | ||
# via pyright | ||
outcome==1.3.0.post0 | ||
# via -r test-requirements.in | ||
packaging==23.2 | ||
# via | ||
# black | ||
# build | ||
# pytest | ||
# sphinx | ||
parso==0.8.3 | ||
# via jedi | ||
pathspec==0.12.1 | ||
# via black | ||
pip-tools==7.3.0 | ||
# via -r test-requirements.in | ||
platformdirs==4.2.0 | ||
CoolCat467 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# via | ||
# black | ||
|
@@ -107,29 +79,21 @@ pycparser==2.21 | |
pygments==2.17.2 | ||
# via sphinx | ||
pylint==3.0.3 | ||
# via -r test-requirements.in | ||
pyopenssl==24.0.0 | ||
# via -r test-requirements.in | ||
pyproject-hooks==1.0.0 | ||
# via build | ||
pyright==1.1.349 | ||
# via -r test-requirements.in | ||
pytest==8.0.0 | ||
# via -r test-requirements.in | ||
pytz==2024.1 | ||
# via babel | ||
requests==2.31.0 | ||
# via sphinx | ||
ruff==0.2.1 | ||
# via -r test-requirements.in | ||
setuptools==69.1.0 | ||
# via nodeenv | ||
A5rocks marked this conversation as resolved.
Show resolved
Hide resolved
|
||
sniffio==1.3.0 | ||
# via -r test-requirements.in | ||
snowballstemmer==2.2.0 | ||
# via sphinx | ||
sortedcontainers==2.4.0 | ||
# via -r test-requirements.in | ||
sphinx==7.1.2 | ||
# via -r test-requirements.in | ||
sphinxcontrib-applehelp==1.0.4 | ||
# via sphinx | ||
sphinxcontrib-devhelp==1.0.2 | ||
|
@@ -145,38 +109,25 @@ sphinxcontrib-serializinghtml==1.1.5 | |
tomli==2.0.1 | ||
# via | ||
# black | ||
# build | ||
# mypy | ||
# pip-tools | ||
# pylint | ||
# pyproject-hooks | ||
# pytest | ||
tomlkit==0.12.3 | ||
# via pylint | ||
trustme==1.1.0 | ||
# via -r test-requirements.in | ||
types-cffi==1.16.0.20240106 ; implementation_name == "cpython" | ||
# via -r test-requirements.in | ||
types-cffi==1.16.0.20240106 | ||
types-docutils==0.20.0.20240201 | ||
# via -r test-requirements.in | ||
types-pyopenssl==24.0.0.20240130 ; implementation_name == "cpython" | ||
# via -r test-requirements.in | ||
types-pyopenssl==24.0.0.20240130 | ||
types-setuptools==69.0.0.20240125 | ||
# via types-cffi | ||
typing-extensions==4.9.0 | ||
# via | ||
# -r test-requirements.in | ||
# astroid | ||
# black | ||
# mypy | ||
# pylint | ||
urllib3==2.2.0 | ||
# via requests | ||
wheel==0.42.0 | ||
# via pip-tools | ||
uv==0.1.1 | ||
zipp==3.17.0 | ||
# via importlib-metadata | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
# pip | ||
# setuptools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these expected? or missing compatibility from
uv
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uv
doesn't appear to explicitly list the fact a dependency is requested from the.in
file, which kind of makes sense. If nothing is listed as a what required that module, why waste text? It also makes it more immediately clear when something is a requirement of another package.Additionally,
uv
hasn't explicitly said that they are trying to have 100% compatibility for these compiled files, and I personally am for this particular change differing frompip-compile
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd make senses when multiple
.in
passed for single output.Also, it'd be increasing readability for recognizing top-level requirements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@charliermarsh Do you think this is compatibility problem and need to open issue for it? or this is by design/not planned?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm. found the issue: astral-sh/uv#1343