Skip to content

Commit b4be5ef

Browse files
committed
temporary revert from uv
1 parent f5ec110 commit b4be5ef

File tree

4 files changed

+536
-4
lines changed

4 files changed

+536
-4
lines changed

.pre-commit.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
repos:
2+
3+
- repo: https://github.com/astral-sh/ruff-pre-commit
4+
# Ruff version.
5+
rev: v0.7.4
6+
hooks:
7+
# Run the linter.
8+
- id: ruff
9+
name: lint with ruff
10+
types_or: [ python, pyi, jupyter ]
11+
args: [ --fix ]
12+
13+
- id: ruff
14+
name: sort imports with ruff
15+
args: [--select, I, --fix]
16+
17+
# Run the formatter.
18+
- id: ruff-format
19+
name: format with ruff
20+
types_or: [ python, pyi, jupyter ]
21+
22+
- repo: https://github.com/kynan/nbstripout
23+
rev: 0.7.1
24+
hooks:
25+
- id: nbstripout
26+
27+
- repo: https://github.com/pre-commit/pre-commit-hooks
28+
rev: v4.5.0
29+
hooks:
30+
- id: trailing-whitespace
31+
- id: end-of-file-fixer
32+
- id: check-yaml
33+
- id: check-added-large-files
34+
35+
- repo: https://github.com/astral-sh/uv-pre-commit
36+
# uv version.
37+
rev: 0.5.24
38+
hooks:
39+
- id: uv-export
40+

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ COPY requirements.sh .
1919

2020
# Install graphviz
2121
RUN pip install uv &&\
22-
uv pip install -r requirements.txt --system && \
22+
pip install -r requirements.txt --system && \
2323
chmod +x requirements.sh && \
2424
./requirements.sh
2525

pyproject.toml

Lines changed: 165 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,198 @@ description = "Source code for Lino Galiana's Python for data science course"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8+
"affine==2.4.0",
9+
"aiobotocore==2.19.0",
10+
"aiohappyeyeballs==2.4.4",
11+
"aiohttp==3.11.11",
12+
"aioitertools==0.12.0",
13+
"aiosignal==1.3.2",
814
"altair==5.4.1",
15+
"annotated-types==0.7.0",
16+
"anyio==4.8.0",
17+
"appdirs==1.4.4",
18+
"attrs==25.1.0",
19+
"babel==2.16.0",
920
"black==24.8.0",
21+
"blis==0.7.11",
22+
"boto3==1.36.3",
23+
"botocore==1.36.3",
24+
"brotli==1.1.0",
1025
"cartiflette",
26+
"cartopy==0.24.1",
27+
"catalogue==2.0.10",
28+
"cattrs==24.1.2",
29+
"certifi==2024.12.14",
30+
"charset-normalizer==3.4.1",
31+
"click==8.1.8",
32+
"click-plugins==1.1.1",
33+
"cligj==0.7.2",
34+
"cloudpathlib==0.20.0",
35+
"commonmark==0.9.1",
36+
"confection==0.1.5",
1137
"contextily==1.6.2",
38+
"contourpy==1.3.1",
39+
"cycler==0.12.1",
40+
"cymem==2.0.11",
41+
"dataclasses-json==0.6.7",
42+
"diskcache==5.6.3",
1243
"duckdb==0.10.1",
44+
"et-xmlfile==2.0.0",
45+
"fastexcel==0.11.6",
46+
"fastjsonschema==2.21.1",
47+
"fiona==1.10.1",
48+
"fontawesomefree==6.6.0",
49+
"fonttools==4.55.6",
50+
"frozenlist==1.5.0",
51+
"fsspec==2023.12.2",
52+
"geographiclib==2.0",
53+
"geopandas==1.0.1",
1354
"geoplot==0.5.1",
55+
"geopy==2.4.1",
1456
"graphviz==0.20.3",
1557
"great-tables==0.12.0",
58+
"greenlet==3.1.1",
59+
"h11==0.14.0",
60+
"htmltools==0.6.0",
61+
"httpcore==1.0.7",
62+
"httpx==0.28.1",
63+
"httpx-sse==0.4.0",
64+
"idna==3.10",
65+
"imageio==2.37.0",
66+
"importlib-metadata==8.6.1",
67+
"importlib-resources==6.5.2",
68+
"inflate64==1.0.1",
69+
"jinja2==3.1.5",
70+
"jmespath==1.0.1",
71+
"joblib==1.4.2",
72+
"jsonpatch==1.33",
73+
"jsonpointer==3.0.0",
74+
"jsonschema==4.23.0",
75+
"jsonschema-specifications==2024.10.1",
1676
"jupyter-cache==1.0.0",
77+
"jupyter-client==8.6.3",
78+
"jupyter-core==5.7.2",
1779
"kaleido==0.2.1",
80+
"kiwisolver==1.4.8",
81+
"langchain==0.3.15",
1882
"langchain-community==0.3.9",
83+
"langchain-core==0.3.31",
84+
"langchain-text-splitters==0.3.5",
85+
"langcodes==3.5.0",
86+
"langsmith==0.1.147",
87+
"language-data==1.3.0",
88+
"lazy-loader==0.4",
1989
"loguru==0.7.3",
90+
"lxml==5.3.0",
91+
"mapclassify==2.8.1",
92+
"marisa-trie==1.2.1",
93+
"markdown-it-py==3.0.0",
94+
"markupsafe==3.0.2",
95+
"marshmallow==3.26.0",
96+
"matplotlib==3.10.0",
97+
"mdurl==0.1.2",
98+
"mercantile==1.2.1",
99+
"mizani==0.11.4",
100+
"multidict==6.1.0",
101+
"multivolumefile==0.2.3",
102+
"murmurhash==1.0.12",
103+
"mypy-extensions==1.0.0",
104+
"narwhals==1.23.0",
20105
"nbclient==0.10.0",
21106
"nbformat==5.10.4",
107+
"networkx==3.4.2",
108+
"numpy==2.2.2",
109+
"openpyxl==3.1.5",
110+
"orjson==3.10.15",
111+
"owslib==0.28.1",
112+
"packaging==24.2",
113+
"pandas==2.2.3",
114+
"pathspec==0.12.1",
115+
"patsy==1.0.1",
116+
"pebble==5.1.0",
117+
"pillow==11.1.0",
118+
"platformdirs==4.3.6",
22119
"plotnine==0.13.6",
23120
"polars==1.8.2",
121+
"preshed==3.0.9",
122+
"propcache==0.2.1",
123+
"psutil==6.1.1",
124+
"py7zr==0.20.8",
24125
"pyarrow==17.0.0",
126+
"pybcj==1.0.3",
127+
"pycryptodomex==3.21.0",
128+
"pydantic==2.10.6",
129+
"pydantic-core==2.27.2",
130+
"pydantic-settings==2.7.1",
131+
"pygments==2.19.1",
25132
"pynsee==0.1.8",
133+
"pyogrio==0.10.0",
134+
"pyparsing==3.2.1",
135+
"pyppmd==1.1.1",
136+
"pyproj==3.7.0",
137+
"pyshp==2.3.1",
138+
"python-dateutil==2.9.0.post0",
26139
"python-dotenv==1.0.1",
140+
"python-magic==0.4.27",
141+
"pytz==2024.2",
27142
"pywaffle==1.1.1",
143+
"pyyaml==6.0.2",
144+
"pyzmq==26.2.0",
145+
"pyzstd==0.16.2",
146+
"rasterio==1.4.3",
147+
"referencing==0.36.2",
148+
"requests==2.32.3",
149+
"requests-cache==1.2.1",
150+
"requests-toolbelt==1.0.0",
151+
"retrying==1.3.4",
152+
"rich==13.9.4",
153+
"rpds-py==0.22.3",
154+
"s3fs==2023.12.2",
155+
"s3transfer==0.11.2",
28156
"scikit-image==0.24.0",
157+
"scikit-learn==1.6.1",
29158
"scipy==1.13.0",
159+
"seaborn==0.13.2",
160+
"setuptools==75.8.0",
161+
"shapely==2.0.6",
162+
"shellingham==1.5.4",
163+
"six==1.17.0",
164+
"smart-open==7.1.0",
165+
"sniffio==1.3.1",
30166
"spacy==3.7.5",
167+
"spacy-legacy==3.0.12",
168+
"spacy-loggers==1.0.5",
169+
"sqlalchemy==2.0.37",
170+
"srsly==2.5.1",
171+
"statsmodels==0.14.4",
172+
"tabulate==0.9.0",
173+
"tenacity==9.0.0",
174+
"texttable==1.7.0",
175+
"thinc==8.2.4",
176+
"threadpoolctl==3.5.0",
177+
"tifffile==2025.1.10",
178+
"topojson==1.9",
179+
"tornado==6.4.2",
180+
"tqdm==4.67.1",
181+
"traitlets==5.14.3",
182+
"typer==0.15.1",
183+
"typing-extensions==4.12.2",
184+
"typing-inspect==0.9.0",
185+
"tzdata==2025.1",
186+
"unidecode==1.3.8",
187+
"url-normalize==1.4.3",
188+
"urllib3==1.26.20",
189+
"wasabi==1.1.3",
190+
"weasel==0.4.1",
31191
"webdriver-manager==4.0.2",
32192
"wordcloud==1.9.3",
193+
"wrapt==1.17.2",
33194
"xlrd==2.0.1",
195+
"xyzservices==2025.1.0",
196+
"yarl==1.18.3",
34197
"yellowbrick==1.5",
198+
"zipp==3.21.0",
35199
]
36200

37201
[tool.uv.sources]
38-
cartiflette = { git = "https://github.com/inseefrlab/cartiflette" }
202+
cartiflette = { git = "https://github.com/inseefrlab/cartiflette", rev = "f6b0c5d049bd6dcae7b437bd931957371da24278" }

0 commit comments

Comments
 (0)