Skip to content

Commit e186435

Browse files
committed
give up trying to use pyproject.toml for deps
1 parent b5c57c1 commit e186435

File tree

8 files changed

+17
-672
lines changed

8 files changed

+17
-672
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
with:
1313
python-version: "3.12"
1414
- name: Install dependencies
15-
run: python -m pip install -r pyproject.toml
15+
run: python -m pip install -r requirements.txt
1616
- name: Test
1717
run: pytest

.github/workflows/check_links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
with:
1313
python-version: "3.12"
1414
- name: Install dependencies
15-
run: python -m pip install -r pyproject.toml
15+
run: python -m pip install -r requirements.txt
1616
- name: Check broken links
1717
run: sphinx-build -nW -b linkcheck . _build

.github/workflows/generate_grants.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
python-version: "3.12"
1717
- name: Install dependencies
18-
run: python -m pip install -r pyproject.toml
18+
run: python -m pip install -r requirements.txt
1919
- name: Generate the list of grants
2020
run: python _scripts/generate_grants.py > ./operations/grants.rst
2121
env:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,8 @@ venv.bak/
103103
# mypy
104104
.mypy_cache/
105105

106+
# ruff
107+
.ruff_cache/
108+
106109
# scripts/lint_requirements.sh
107110
*-requirements.txt

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Když toho upravujete víc, nebo máte zálusk na nějaké složitější kejkle
1717

1818
#. Stáhněte projekt: ``git clone https://github.com/pyvec/docs.pyvec.org.git``
1919
#. Vytvořte si a aktivujte virtuální prostředí
20-
#. Nainstalujte do prostředí závislosti: ``python -m pip install -r pyproject.toml``
20+
#. Nainstalujte do prostředí závislosti: ``python -m pip install -r requirements.txt``
2121

2222
Běžná práce
2323
-----------

pyproject.toml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
[project]
2-
name = "pyvec-docs"
3-
version = "0.0.0"
4-
readme = "README.rst"
52
requires-python = "==3.12"
6-
dependencies = [
7-
"sphinx==7.4.7",
8-
"sphinxemoji==0.3.1",
9-
"sphinx-rtd-theme==2.0.0",
10-
"sphinx-autobuild==2024.4.16",
11-
"requests==2.32.3",
12-
"jinja2==3.1.4",
13-
"strictyaml==1.7.3",
14-
"pytest==8.3.2",
15-
"myst-parser==4.0.0",
16-
"pytest-ruff==0.4.1",
17-
]
183

194
[tool.pytest.ini_options]
205
testpaths = "_*"
@@ -23,7 +8,6 @@ norecursedirs = "_build _static _templates"
238

249
[tool.ruff]
2510
target-version = "py312"
26-
# extend-exclude = ["*_legacy"]
2711

2812
[tool.ruff.lint]
2913
extend-select = ["I"]

requirements.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
sphinx==7.4.7
2+
sphinxemoji==0.3.1
3+
sphinx-rtd-theme==2.0.0
4+
sphinx-autobuild==2024.4.16
5+
requests==2.32.3
6+
jinja2==3.1.4
7+
strictyaml==1.7.3
8+
pytest==8.3.2
9+
myst-parser==4.0.0
10+
pytest-ruff==0.4.1

uv.lock

Lines changed: 0 additions & 652 deletions
This file was deleted.

0 commit comments

Comments
 (0)