Compare commits

...

5 Commits

Author SHA1 Message Date
bashonly
2c7571a5a1
[ci] Update install_deps calls to use dev dependency group
Authored by: bashonly
2024-01-16 23:35:08 -06:00
bashonly
5e1a1ee1b9
[build] publish_pypi job should use install_deps
Authored by: bashonly
2024-01-16 23:35:08 -06:00
bashonly
eb4fdf1664
Add build package to build optional dependency group
Authored by: bashonly
2024-01-16 23:35:08 -06:00
bashonly
c52895e850
Remove ci optional dependency group
Authored by: bashonly
2024-01-16 23:35:08 -06:00
bashonly
d89c2710ab
Use all lowercase for dependency names
Authored by: bashonly
2024-01-16 23:35:07 -06:00
5 changed files with 9 additions and 12 deletions

View File

@ -53,7 +53,7 @@ jobs:
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install test requirements - name: Install test requirements
run: python3 ./devscripts/install_deps.py --include ci run: python3 ./devscripts/install_deps.py --include dev
- name: Run tests - name: Run tests
continue-on-error: False continue-on-error: False
run: | run: |

View File

@ -15,7 +15,7 @@ jobs:
with: with:
python-version: 3.9 python-version: 3.9
- name: Install test requirements - name: Install test requirements
run: python3 ./devscripts/install_deps.py --include ci run: python3 ./devscripts/install_deps.py --include dev
- name: Run tests - name: Run tests
continue-on-error: true continue-on-error: true
run: python3 ./devscripts/run_tests.py download run: python3 ./devscripts/run_tests.py download
@ -42,7 +42,7 @@ jobs:
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install test requirements - name: Install test requirements
run: python3 ./devscripts/install_deps.py --include ci run: python3 ./devscripts/install_deps.py --include dev
- name: Run tests - name: Run tests
continue-on-error: true continue-on-error: true
run: python3 ./devscripts/run_tests.py download run: python3 ./devscripts/run_tests.py download

View File

@ -15,7 +15,7 @@ jobs:
with: with:
python-version: '3.8' python-version: '3.8'
- name: Install test requirements - name: Install test requirements
run: python3 ./devscripts/install_deps.py --include ci run: python3 ./devscripts/install_deps.py --include dev
- name: Run tests - name: Run tests
run: | run: |
python3 -m yt_dlp -v || true python3 -m yt_dlp -v || true
@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
- name: Install flake8 - name: Install flake8
run: python3 -m pip install -U flake8 run: python3 ./devscripts/install_deps.py -o --include dev
- name: Make lazy extractors - name: Make lazy extractors
run: python3 ./devscripts/make_lazy_extractors.py run: python3 ./devscripts/make_lazy_extractors.py
- name: Run flake8 - name: Run flake8

View File

@ -253,7 +253,7 @@ jobs:
- name: Install Requirements - name: Install Requirements
run: | run: |
sudo apt -y install pandoc man sudo apt -y install pandoc man
python -m pip install -U build setuptools wheel python devscripts/install_deps.py -o --include build
- name: Prepare - name: Prepare
env: env:

View File

@ -52,17 +52,14 @@ dependencies = [
[project.optional-dependencies] [project.optional-dependencies]
secretstorage = ["secretstorage"] secretstorage = ["secretstorage"]
pyinstaller = ["pyinstaller>=6.3"]
py2exe = ["py2exe>=0.12"]
build = [ build = [
"build",
"pip", "pip",
"setuptools>=61", "setuptools>=61",
"wheel", "wheel",
] ]
pyinstaller = ["Pyinstaller>=6.3"]
py2exe = ["py2exe>=0.12"]
ci = [
"flake8",
"pytest",
]
dev = [ dev = [
"flake8", "flake8",
"isort", "isort",