Skip to content

Commit 25711f0

Browse files
committed
Quote pip install steps for pyyaml workaround
1 parent d6430c4 commit 25711f0

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
# workaround start
4444
# this is a pyyaml v5 vs cython v3 conflict workaround
4545
# see https://github.com/alan-turing-institute/sqlsynthgen/issues/120
46-
python -m poetry run pip install cython<3
46+
python -m poetry run pip install "cython<3"
4747
python -m poetry run pip install wheel
48-
python -m poetry run pip install --no-build-isolation pyyaml==5.4.1
48+
python -m poetry run pip install --no-build-isolation "pyyaml==5.4.1"
4949
# workaround end
5050
python -m poetry install --all-extras
5151
- name: Install Pre-Commit

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
# workaround start
5050
# this is a pyyaml v5 vs cython v3 conflict workaround
5151
# see https://github.com/alan-turing-institute/sqlsynthgen/issues/120
52-
python -m poetry run pip install cython<3
52+
python -m poetry run pip install "cython<3"
5353
python -m poetry run pip install wheel
54-
python -m poetry run pip install --no-build-isolation pyyaml==5.4.1
54+
python -m poetry run pip install --no-build-isolation "pyyaml==5.4.1"
5555
# workaround end
5656
python -m poetry install --all-extras
5757
- name: Create src database

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ build:
1818
# This pre-install job is a pyyaml v5 vs cython v3 conflict workaround
1919
# see https://github.com/alan-turing-institute/sqlsynthgen/issues/120
2020
pre_install:
21-
- pip install cython<3
21+
- pip install "cython<3"
2222
- pip install wheel
23-
- pip install --no-build-isolation pyyaml==5.4.1
23+
- pip install --no-build-isolation "pyyaml==5.4.1"
2424

2525
# Build documentation in the docs/ directory with Sphinx
2626
sphinx:

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Please install the following software on your workstation:
2828
If Poetry errors when installing PyYaml, you will need to manually specify the Cython version and manually install PyYaml (this is a temporary workaround for a PyYaml v5 conflict with Cython v3, see [here](https://github.com/yaml/pyyaml/issues/601) for full details):
2929

3030
```bash
31-
poetry run pip install cython<3
31+
poetry run pip install "cython<3"
3232
poetry run pip install wheel
33-
poetry run pip install --no-build-isolation pyyaml==5.4.1
33+
poetry run pip install --no-build-isolation "pyyaml==5.4.1"
3434
poetry install --all-extras
3535
```
3636

docs/source/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ If Pip errors when installing PyYaml, you will need to manually specify the Cyth
1717

1818
.. code-block:: console
1919
20-
pip install cython<3
20+
pip install "cython<3"
2121
pip install wheel
22-
pip install --no-build-isolation pyyaml==5.4.1
22+
pip install --no-build-isolation "pyyaml==5.4.1"
2323
pip install sqlsynthgen
2424
2525
Check that you can view the help message with:

0 commit comments

Comments
 (0)