Skip to content

Commit dbd3b55

Browse files
authored
Switch to uv (#356)
update rtd build and sphinx version
1 parent f203b9d commit dbd3b55

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.readthedocs.yaml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,20 @@ submodules:
1111
- golden_ecat.py
1212
- tests
1313

14-
1514
# Set the version of Python and other tools you might need
1615
build:
1716
os: ubuntu-22.04
1817
tools:
1918
python: "3.11"
20-
jobs:
21-
post_create_environment:
22-
- cp -r metadata pypet2bids/pypet2bids/
23-
# install poetry
24-
- pip install poetry==1.6.1
25-
- poetry config virtualenvs.create false
26-
# just use poetry to export a requirements.txt as that worked much better than the previous attempts
27-
- cd pypet2bids && poetry lock && poetry export --without-hashes --with dev --format=requirements.txt > requirements.txt
19+
20+
# Install Python dependencies
21+
python:
22+
install:
23+
- method: pip
24+
path: pypet2bids
25+
extra_requirements:
26+
- dev
2827

2928
# Build documentation in the docs/ directory with Sphinx
3029
sphinx:
3130
configuration: docs/conf.py
32-
33-
# Optionally declare the Python requirements required to build your docs
34-
python:
35-
install:
36-
- requirements: pypet2bids/requirements.txt

pypet2bids/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ dependencies = [
4646
[project.optional-dependencies]
4747
dev = [
4848
"pytest>=6.2.5,<8.0.0",
49-
"sphinx<=4.5.0",
49+
"sphinx>=5.0.0,<7.0.0",
5050
"sphinx-rtd-theme>=1.2.2",
5151
"sphinxcontrib-matlabdomain>=0.21.4",
5252
"pyinstaller>=5.4.1",

0 commit comments

Comments
 (0)