Skip to content

Commit

Permalink
chore: using uv to manage this project
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Feb 20, 2025
1 parent 99dc30f commit fb6d818
Show file tree
Hide file tree
Showing 7 changed files with 189 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
python-version: 3.11

- name: Install deps
run: python -m pip install -r requirements.txt
run: python -m pip install -r requirements-dev.lock

- name: Install theme
run: python -m pip install .
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ docs/_build

node_modules/
npm-debug.log*
uv.lock

src/shibuya/theme/shibuya/static/shibuya.*
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ sphinx:

python:
install:
- requirements: requirements.txt
- requirements: requirements-dev.lock
2 changes: 1 addition & 1 deletion docs/contributing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Then install the Python requirements:

.. code-block:: shell
pip install -r requirements.txt
pip install -r requirements-dev.lock
pip install livereload
Run dev server
Expand Down
27 changes: 27 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,30 @@ build-backend = "setuptools.build_meta"

[tool.setuptools.dynamic]
version = {attr = "shibuya.__version__"}

[dependency-groups]
dev = [
"babel>=2.17.0",
"ipykernel>=6.29.5",
"jupyter-sphinx>=0.5.3",
"matplotlib>=3.7.5",
"myst-parser>=3.0.1",
"nbsphinx>=0.9.6",
"numpy>=1.24.4",
"numpydoc>=1.7.0",
"pandas>=2.0.3",
"sphinx-click>=6.0.0",
"sphinx-contributors>=0.2.7",
"sphinx-copybutton>=0.5.2",
"sphinx-design>=0.5.0",
"sphinx-docsearch>=0.0.8",
"sphinx-sitemap>=2.6.0",
"sphinx-sqlalchemy>=0.3.0",
"sphinx-togglebutton>=0.3.2",
"sphinxcontrib-mermaid>=1.0.0",
"sphinxcontrib-video>=0.4.1",
"sphinxcontrib-youtube>=1.4.1",
]
serve = [
"livereload>=2.7.1",
]
158 changes: 158 additions & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
# This file was autogenerated by uv via the following command:
# uv export --no-hashes -o requirements-dev.lock
-e .
alabaster==0.7.13 ; python_full_version < '3.9'
alabaster==0.7.16 ; python_full_version >= '3.9'
appnope==0.1.4 ; sys_platform == 'darwin'
asttokens==3.0.0
attrs==25.1.0
babel==2.17.0
backcall==0.2.0 ; python_full_version < '3.9'
beautifulsoup4==4.13.3
bleach==6.1.0 ; python_full_version < '3.9'
bleach==6.2.0 ; python_full_version >= '3.9'
certifi==2025.1.31
cffi==1.17.1 ; implementation_name == 'pypy'
charset-normalizer==3.4.1
click==8.1.8
colorama==0.4.6 ; sys_platform == 'win32'
comm==0.2.2
contourpy==1.1.1 ; python_full_version < '3.9'
contourpy==1.3.0 ; python_full_version == '3.9.*'
contourpy==1.3.1 ; python_full_version >= '3.10'
cycler==0.12.1
debugpy==1.8.12
decorator==5.1.1
defusedxml==0.7.1
docutils==0.20.1 ; python_full_version < '3.9'
docutils==0.21.2 ; python_full_version >= '3.9'
exceptiongroup==1.2.2 ; python_full_version >= '3.9' and python_full_version < '3.11'
executing==2.2.0
fastjsonschema==2.21.1
fonttools==4.56.0
greenlet==3.1.1 ; (python_full_version < '3.14' and platform_machine == 'AMD64') or (python_full_version < '3.14' and platform_machine == 'WIN32') or (python_full_version < '3.14' and platform_machine == 'aarch64') or (python_full_version < '3.14' and platform_machine == 'amd64') or (python_full_version < '3.14' and platform_machine == 'ppc64le') or (python_full_version < '3.14' and platform_machine == 'win32') or (python_full_version < '3.14' and platform_machine == 'x86_64')
idna==3.10
imagesize==1.4.1
importlib-metadata==8.5.0 ; python_full_version < '3.9'
importlib-metadata==8.6.1 ; python_full_version == '3.9.*'
importlib-resources==6.4.5 ; python_full_version < '3.9'
importlib-resources==6.5.2 ; python_full_version == '3.9.*'
ipykernel==6.29.5
ipython==8.12.3 ; python_full_version < '3.9'
ipython==8.18.1 ; python_full_version == '3.9.*'
ipython==8.32.0 ; python_full_version >= '3.10'
ipywidgets==8.1.5
jedi==0.19.2
jinja2==3.1.5
jsonschema==4.23.0
jsonschema-specifications==2023.12.1 ; python_full_version < '3.9'
jsonschema-specifications==2024.10.1 ; python_full_version >= '3.9'
jupyter-client==8.6.3
jupyter-core==5.7.2
jupyter-sphinx==0.5.3
jupyterlab-pygments==0.3.0
jupyterlab-widgets==3.0.13
kiwisolver==1.4.7 ; python_full_version < '3.10'
kiwisolver==1.4.8 ; python_full_version >= '3.10'
markdown-it-py==3.0.0
markupsafe==2.1.5 ; python_full_version < '3.9'
markupsafe==3.0.2 ; python_full_version >= '3.9'
matplotlib==3.7.5 ; python_full_version < '3.9'
matplotlib==3.9.4 ; python_full_version == '3.9.*'
matplotlib==3.10.0 ; python_full_version >= '3.10'
matplotlib-inline==0.1.7
mdit-py-plugins==0.4.2
mdurl==0.1.2
mistune==3.1.2
myst-parser==3.0.1 ; python_full_version < '3.10'
myst-parser==4.0.1 ; python_full_version >= '3.10'
nbclient==0.10.1 ; python_full_version < '3.9'
nbclient==0.10.2 ; python_full_version >= '3.9'
nbconvert==7.16.6
nbformat==5.10.4
nbsphinx==0.9.6
nest-asyncio==1.6.0
numpy==1.24.4 ; python_full_version < '3.9'
numpy==2.0.2 ; python_full_version == '3.9.*'
numpy==2.2.3 ; python_full_version >= '3.10'
numpydoc==1.7.0 ; python_full_version < '3.9'
numpydoc==1.8.0 ; python_full_version >= '3.9'
packaging==24.2
pandas==2.0.3 ; python_full_version < '3.9'
pandas==2.2.3 ; python_full_version >= '3.9'
pandocfilters==1.5.1
parso==0.8.4
pexpect==4.9.0 ; (python_full_version < '3.10' and sys_platform == 'emscripten') or (sys_platform != 'emscripten' and sys_platform != 'win32')
pickleshare==0.7.5 ; python_full_version < '3.9'
pillow==10.4.0 ; python_full_version < '3.9'
pillow==11.1.0 ; python_full_version >= '3.9'
pkgutil-resolve-name==1.3.10 ; python_full_version < '3.9'
platformdirs==4.3.6
prompt-toolkit==3.0.50
psutil==7.0.0
ptyprocess==0.7.0 ; (python_full_version < '3.10' and sys_platform == 'emscripten') or (sys_platform != 'emscripten' and sys_platform != 'win32')
pure-eval==0.2.3
pycparser==2.22 ; implementation_name == 'pypy'
pygments==2.19.1
pyparsing==3.1.4 ; python_full_version < '3.9'
pyparsing==3.2.1 ; python_full_version >= '3.9'
python-dateutil==2.9.0.post0
pytz==2025.1
pywin32==308 ; platform_python_implementation != 'PyPy' and sys_platform == 'win32'
pyyaml==6.0.2
pyzmq==26.2.1
referencing==0.35.1 ; python_full_version < '3.9'
referencing==0.36.2 ; python_full_version >= '3.9'
requests==2.32.3
rpds-py==0.20.1 ; python_full_version < '3.9'
rpds-py==0.22.3 ; python_full_version >= '3.9'
setuptools==75.3.0 ; python_full_version < '3.9'
setuptools==75.8.0 ; python_full_version >= '3.9'
six==1.17.0
snowballstemmer==2.2.0
soupsieve==2.6
sphinx==7.1.2 ; python_full_version < '3.9'
sphinx==7.3.7 ; python_full_version >= '3.10'
sphinx==7.4.7 ; python_full_version == '3.9.*'
sphinx-click==6.0.0
sphinx-contributors==0.2.7
sphinx-copybutton==0.5.2
sphinx-design==0.5.0 ; python_full_version < '3.9'
sphinx-design==0.6.1 ; python_full_version >= '3.9'
sphinx-docsearch==0.0.8 ; python_full_version >= '3.10'
sphinx-docsearch==0.1.0 ; python_full_version < '3.10'
sphinx-sitemap==2.6.0
sphinx-sqlalchemy==0.3.0
sphinx-togglebutton==0.3.2
sphinxcontrib-applehelp==1.0.4 ; python_full_version < '3.9'
sphinxcontrib-applehelp==2.0.0 ; python_full_version >= '3.9'
sphinxcontrib-devhelp==1.0.2 ; python_full_version < '3.9'
sphinxcontrib-devhelp==2.0.0 ; python_full_version >= '3.9'
sphinxcontrib-htmlhelp==2.0.1 ; python_full_version < '3.9'
sphinxcontrib-htmlhelp==2.1.0 ; python_full_version >= '3.9'
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-mermaid==1.0.0
sphinxcontrib-qthelp==1.0.3 ; python_full_version < '3.9'
sphinxcontrib-qthelp==2.0.0 ; python_full_version >= '3.9'
sphinxcontrib-serializinghtml==1.1.5 ; python_full_version < '3.9'
sphinxcontrib-serializinghtml==2.0.0 ; python_full_version >= '3.9'
sphinxcontrib-video==0.4.1
sphinxcontrib-youtube==1.4.1
sqlalchemy==2.0.38
stack-data==0.6.3
tabulate==0.9.0
tinycss2==1.2.1 ; python_full_version < '3.9'
tinycss2==1.4.0 ; python_full_version >= '3.9'
tomli==2.2.1 ; python_full_version < '3.11'
tornado==6.4.2
traitlets==5.14.3
typing-extensions==4.12.2
tzdata==2025.1
urllib3==2.2.3 ; python_full_version < '3.9'
urllib3==2.3.0 ; python_full_version >= '3.9'
wcwidth==0.2.13
webencodings==0.5.1
wheel==0.45.1
widgetsnbextension==4.0.13
zipp==3.20.2 ; python_full_version < '3.9'
zipp==3.21.0 ; python_full_version == '3.9.*'
21 changes: 0 additions & 21 deletions requirements.txt

This file was deleted.

0 comments on commit fb6d818

Please sign in to comment.