Skip to content

Commit cf9dfc4

Browse files
authored
Add requirements.txt (#38)
1 parent 9809dda commit cf9dfc4

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.github/workflows/build_all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
with:
5454
python-version: ${{ env.PYTHON_VERSION }}
5555
- name: install python dependencies
56-
run: python -m pip install --upgrade pip conan semver
56+
run: python -m pip install -r requirements.txt
5757

5858
- name: conan config
5959
run: conan config install .github/config/ubuntu-24.04/conan

.github/workflows/build_one.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
with:
7474
python-version: ${{ env.PYTHON_VERSION }}
7575
- name: install python dependencies
76-
run: python -m pip install --upgrade pip conan semver
76+
run: python -m pip install -r requirements.txt
7777

7878
- name: conan config
7979
run: conan config install .github/config/ubuntu-24.04/conan
@@ -104,7 +104,7 @@ jobs:
104104
with:
105105
python-version: ${{ env.PYTHON_VERSION }}
106106
- name: install python dependencies and setuptools (required to build GLib)
107-
run: python -m pip install --upgrade pip conan setuptools
107+
run: python -m pip install -r requirements.txt
108108

109109
- name: install NDK
110110
if: startsWith(matrix.config.host_profile, 'android')

.github/workflows/remove.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2222
with:
2323
python-version: ${{ env.PYTHON_VERSION }}
24-
- run: python -m pip install --upgrade conan
24+
- run: python -m pip install -r requirements.txt
2525

2626
- run: conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan
2727
- run: conan remote login odr admin --password ${{ secrets.ARTIFACTORY }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
python-version: ${{ env.PYTHON_VERSION }}
5050
- name: install python dependencies
51-
run: python -m pip install --upgrade pip pyyaml
51+
run: python -m pip install -r requirements.txt
5252

5353
- name: Get requested packages from commits and workflow_dispatch inputs
5454
id: list-packages-without-dependents
@@ -83,7 +83,7 @@ jobs:
8383
with:
8484
python-version: ${{ env.PYTHON_VERSION }}
8585
- name: install python dependencies and setuptools (required to build GLib)
86-
run: python -m pip install --upgrade pip conan setuptools
86+
run: python -m pip install -r requirements.txt
8787

8888
- name: install NDK
8989
run: yes | ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${{ env.ndk_version }}"

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
conan==2.18.1
2+
pyyaml==6.0.2
3+
semver==3.0.4
4+
setuptools==80.9.0

0 commit comments

Comments
 (0)