Skip to content

Commit

Permalink
give up trying to use pyproject.toml for deps
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Aug 31, 2024
1 parent b5c57c1 commit e186435
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 672 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
with:
python-version: "3.12"
- name: Install dependencies
run: python -m pip install -r pyproject.toml
run: python -m pip install -r requirements.txt
- name: Test
run: pytest
2 changes: 1 addition & 1 deletion .github/workflows/check_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
with:
python-version: "3.12"
- name: Install dependencies
run: python -m pip install -r pyproject.toml
run: python -m pip install -r requirements.txt
- name: Check broken links
run: sphinx-build -nW -b linkcheck . _build
2 changes: 1 addition & 1 deletion .github/workflows/generate_grants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
python-version: "3.12"
- name: Install dependencies
run: python -m pip install -r pyproject.toml
run: python -m pip install -r requirements.txt
- name: Generate the list of grants
run: python _scripts/generate_grants.py > ./operations/grants.rst
env:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,8 @@ venv.bak/
# mypy
.mypy_cache/

# ruff
.ruff_cache/

# scripts/lint_requirements.sh
*-requirements.txt
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Když toho upravujete víc, nebo máte zálusk na nějaké složitější kejkle

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

Běžná práce
-----------
Expand Down
16 changes: 0 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
[project]
name = "pyvec-docs"
version = "0.0.0"
readme = "README.rst"
requires-python = "==3.12"
dependencies = [
"sphinx==7.4.7",
"sphinxemoji==0.3.1",
"sphinx-rtd-theme==2.0.0",
"sphinx-autobuild==2024.4.16",
"requests==2.32.3",
"jinja2==3.1.4",
"strictyaml==1.7.3",
"pytest==8.3.2",
"myst-parser==4.0.0",
"pytest-ruff==0.4.1",
]

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

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

[tool.ruff.lint]
extend-select = ["I"]
Expand Down
10 changes: 10 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sphinx==7.4.7
sphinxemoji==0.3.1
sphinx-rtd-theme==2.0.0
sphinx-autobuild==2024.4.16
requests==2.32.3
jinja2==3.1.4
strictyaml==1.7.3
pytest==8.3.2
myst-parser==4.0.0
pytest-ruff==0.4.1
652 changes: 0 additions & 652 deletions uv.lock

This file was deleted.

0 comments on commit e186435

Please sign in to comment.