From de13f174c3e16591d22180ecd35400822977b904 Mon Sep 17 00:00:00 2001 From: Kilian Lieret Date: Tue, 9 Aug 2022 12:16:57 -0400 Subject: [PATCH 01/16] Doc: no-pin instead of non-pin for scheme --- pipreqs/pipreqs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipreqs/pipreqs.py b/pipreqs/pipreqs.py index 24eeeb7..b4fab36 100644 --- a/pipreqs/pipreqs.py +++ b/pipreqs/pipreqs.py @@ -31,7 +31,7 @@ Options: --clean Clean up requirements.txt by removing modules that are not imported in project --mode Enables dynamic versioning with , - or schemes. + or schemes. | e.g. Flask~=1.1.2 | e.g. Flask>=1.1.2 | e.g. Flask From c0d6b293b1f1329c5c67349573d4545d72f9ebe7 Mon Sep 17 00:00:00 2001 From: mcp292 Date: Wed, 17 May 2023 15:07:42 -0700 Subject: [PATCH 02/16] Add OpenCV mapping Fixes #307. --- pipreqs/mapping | 1 + 1 file changed, 1 insertion(+) diff --git a/pipreqs/mapping b/pipreqs/mapping index 3e0dc37..8cda85b 100644 --- a/pipreqs/mapping +++ b/pipreqs/mapping @@ -582,6 +582,7 @@ ctff:tff cups:pycups curator:elasticsearch_curator curl:pycurl +cv2:opencv-python daemon:python_daemon dare:DARE dateutil:python_dateutil From c3d0f169d32b2fbfb5fcf333b170c6bd666b45b4 Mon Sep 17 00:00:00 2001 From: testpushpleaseignore Date: Mon, 19 Jun 2023 16:30:09 -0500 Subject: [PATCH 03/16] add pywintypes to mapping mapped pywintypes to pywin32 --- pipreqs/mapping | 1 + 1 file changed, 1 insertion(+) diff --git a/pipreqs/mapping b/pipreqs/mapping index 3e0dc37..210c1d3 100644 --- a/pipreqs/mapping +++ b/pipreqs/mapping @@ -975,6 +975,7 @@ pysynth_samp:PySynth pythongettext:python_gettext pythonjsonlogger:python_json_logger pyutilib:PyUtilib +pywintypes:pywin32 pyximport:Cython qs:qserve quadtree:python_geohash From ab492859f4c26c30a39f29cc46a2afd9d7c4ee14 Mon Sep 17 00:00:00 2001 From: XinShou <41276723+IceXinShou@users.noreply.github.com> Date: Fri, 22 Sep 2023 06:44:24 +0800 Subject: [PATCH 04/16] Update mapping for SpeechRecognition --- pipreqs/mapping | 1 + 1 file changed, 1 insertion(+) diff --git a/pipreqs/mapping b/pipreqs/mapping index 3e0dc37..5778428 100644 --- a/pipreqs/mapping +++ b/pipreqs/mapping @@ -36,6 +36,7 @@ Pyxides:astro_pyxis QtCore:PySide S3:s3cmd SCons:pystick +speech_recognition:SpeechRecognition Shared:Zope2 Signals:Zope2 Stemmer:PyStemmer From e4faec2c1e6fce9d52d794212d89fa9c715f73b9 Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Tue, 16 Jan 2024 13:34:00 +0100 Subject: [PATCH 05/16] update tests badge in readme --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 16c477a..dab9c71 100644 --- a/README.rst +++ b/README.rst @@ -2,8 +2,8 @@ ``pipreqs`` - Generate requirements.txt file for any project based on imports ============================================================================= -.. image:: https://img.shields.io/travis/bndr/pipreqs.svg - :target: https://travis-ci.org/bndr/pipreqs +.. image:: https://github.com/bndr/pipreqs/actions/workflows/tests.yml/badge.svg + :target: https://github.com/bndr/pipreqs/actions/workflows/tests.yml .. image:: https://img.shields.io/pypi/v/pipreqs.svg From 4767b6444e563b62c8d02836e987101db618da47 Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Tue, 19 Mar 2024 16:46:50 +0100 Subject: [PATCH 06/16] Add mapping `jose` -> `python-jose` --- pipreqs/mapping | 1 + 1 file changed, 1 insertion(+) diff --git a/pipreqs/mapping b/pipreqs/mapping index 3e0dc37..0ddc484 100644 --- a/pipreqs/mapping +++ b/pipreqs/mapping @@ -720,6 +720,7 @@ jaraco:jaraco.util jinja2:Jinja2 jiracli:jira_cli johnny:johnny_cache +jose:python_jose jpgrid:python_geohash jpiarea:python_geohash jpype:JPype1 From 75e7892310c91daf67791be7c560db9f9a0b0724 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 12 Apr 2024 04:43:35 +0000 Subject: [PATCH 07/16] Bump idna from 3.6 to 3.7 Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7. - [Release notes](https://github.com/kjd/idna/releases) - [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst) - [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7) --- updated-dependencies: - dependency-name: idna dependency-type: indirect ... Signed-off-by: dependabot[bot] --- poetry.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 981e479..03a5a08 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "alabaster" @@ -510,13 +510,13 @@ pyflakes = ">=3.1.0,<3.2.0" [[package]] name = "idna" -version = "3.6" +version = "3.7" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.5" files = [ - {file = "idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f"}, - {file = "idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"}, + {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"}, + {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"}, ] [[package]] From 1e9cc81f8ecbeefcad276ccd463fdfd3d53931db Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 21:09:57 +0000 Subject: [PATCH 08/16] Bump jinja2 from 3.1.3 to 3.1.4 Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- poetry.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 981e479..b29ab8e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "alabaster" @@ -627,13 +627,13 @@ testing = ["Django", "attrs", "colorama", "docopt", "pytest (<7.0.0)"] [[package]] name = "jinja2" -version = "3.1.3" +version = "3.1.4" description = "A very fast and expressive template engine." optional = false python-versions = ">=3.7" files = [ - {file = "Jinja2-3.1.3-py3-none-any.whl", hash = "sha256:7d6d50dd97d52cbc355597bd845fabfbac3f551e1f99619e39a35ce8c370b5fa"}, - {file = "Jinja2-3.1.3.tar.gz", hash = "sha256:ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90"}, + {file = "jinja2-3.1.4-py3-none-any.whl", hash = "sha256:bc5dd2abb727a5319567b7a813e6a2e7318c39f4f487cfe6c89c6f9c7d25197d"}, + {file = "jinja2-3.1.4.tar.gz", hash = "sha256:4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369"}, ] [package.dependencies] From 648a43ffbec9d232b82f9b93f2a986d33d16f73d Mon Sep 17 00:00:00 2001 From: Jonas Eschle Date: Mon, 7 Apr 2025 16:41:44 +0200 Subject: [PATCH 09/16] add pre-commit configuration file --- .pre-commit-config.yaml | 96 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..34657ab --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,96 @@ +ci: + autoupdate_commit_msg: "chore: update pre-commit hooks" + autofix_commit_msg: "style: pre-commit fixes" + autoupdate_schedule: quarterly + +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: check-added-large-files + args: [ '--maxkb=1000' ] + - id: check-case-conflict + - id: check-merge-conflict + - id: check-symlinks + - id: check-yaml + - id: check-toml + - id: check-json + - id: debug-statements + - id: end-of-file-fixer + - id: mixed-line-ending + - id: requirements-txt-fixer + - id: trailing-whitespace + files: ".*\\.(?:tex|py)$" + args: [ --markdown-linebreak-ext=md ] + exclude: (^notebooks/|^tests/truth/) + - id: detect-private-key + - id: fix-byte-order-marker + - id: check-ast + - id: check-docstring-first + - id: debug-statements + + - repo: https://github.com/pre-commit/pygrep-hooks + rev: v1.10.0 + hooks: + - id: python-use-type-annotations + - id: python-check-mock-methods + - id: python-no-eval + - id: rst-backticks + - id: rst-directive-colons + + - repo: https://github.com/asottile/pyupgrade + rev: v3.3.1 + hooks: + - id: pyupgrade + args: [ --py38-plus ] + + # Notebook formatting + - repo: https://github.com/nbQA-dev/nbQA + rev: 1.9.1 + hooks: + - id: nbqa-isort + additional_dependencies: [ isort ] + + - id: nbqa-pyupgrade + additional_dependencies: [ pyupgrade ] + args: [ --py38-plus ] + + + - repo: https://github.com/kynan/nbstripout + rev: 0.8.1 + hooks: + - id: nbstripout + + - repo: https://github.com/sondrelg/pep585-upgrade + rev: 'v1.0' + hooks: + - id: upgrade-type-hints + args: [ '--futures=true' ] + + - repo: https://github.com/MarcoGorelli/auto-walrus + rev: 0.3.4 + hooks: + - id: auto-walrus + + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.30.0 + hooks: + - id: check-github-workflows + - id: check-github-actions + - id: check-dependabot + - id: check-readthedocs + + - repo: https://github.com/dannysepler/rm_unneeded_f_str + rev: v0.2.0 + hooks: + - id: rm-unneeded-f-str + + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: "v0.8.6" + hooks: + - id: ruff + types_or: [ python, pyi, jupyter ] + args: [ --fix, --show-fixes , --line-length=120 ] # --unsafe-fixes, + # Run the formatter. + - id: ruff-format + types_or: [ python, pyi, jupyter ] From e5336a446a245b9a9830440c358bf01b88b6b494 Mon Sep 17 00:00:00 2001 From: Jonas Eschle Date: Mon, 7 Apr 2025 17:05:51 +0200 Subject: [PATCH 10/16] Update pyproject.toml and tests.yml config --- .github/workflows/tests.yml | 4 ++++ pyproject.toml | 35 +++++++++++++++++++---------------- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d98c199..4ece6e5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,10 @@ name: Tests and Codecov on: push: + branches: + - master + - main + - "release/*" pull_request: workflow_dispatch: diff --git a/pyproject.toml b/pyproject.toml index 5944f4b..1de2290 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ -[tool.poetry] +[project] name = "pipreqs" version = "0.5.0" description = "Pip requirements.txt generator based on imports in project" authors = ["Vadim Kravcenko "] license = "Apache-2.0" readme = ["README.rst", "HISTORY.rst"] -packages = [{include = "pipreqs"}] +packages = [{ include = "pipreqs" }] repository = "https://github.com/bndr/pipreqs" keywords = ["pip", "requirements", "imports"] classifiers = [ @@ -21,22 +21,25 @@ classifiers = [ "Programming Language :: Python :: 3.12" ] +dependencies = [ + "python>=3.8.1,<3.13", + "yarg>=0.1.9", + "docopt>=0.6.2", + "nbconvert>=7.11.0", + "ipython>=8.12.3", +] +[project.optional-dependencies] +dev = [ + "flake8>=6.1.0", + "tox>=4.11.3", + "coverage>=7.3.2", + "sphinx>=7.2.6;python_version>=3.9", +] + + [tool.poetry.scripts] pipreqs = "pipreqs.pipreqs:main" -[tool.poetry.dependencies] -python = ">=3.8.1,<3.13" -yarg = "0.1.9" -docopt = "0.6.2" -nbconvert = "^7.11.0" -ipython = "8.12.3" - -[tool.poetry.group.dev.dependencies] -flake8 = "^6.1.0" -tox = "^4.11.3" -coverage = "^7.3.2" -sphinx = { version = "^7.2.6", python = ">=3.9" } - [build-system] -requires = ["poetry-core"] +requires = ["poetry-core>=2.0.0,<3.0.0"] build-backend = "poetry.core.masonry.api" From 9eedfb39db8dd0db11a337401b6a32b18ea6ff1c Mon Sep 17 00:00:00 2001 From: Jonas Eschle Date: Mon, 7 Apr 2025 17:18:54 +0200 Subject: [PATCH 11/16] Upgrade dependencies in pyproject.toml and tests.yml --- .github/workflows/tests.yml | 8 ++++---- pyproject.toml | 14 +++++++++----- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4ece6e5..56a398d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,10 +18,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: | @@ -53,7 +53,7 @@ jobs: run: poetry run coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: files: coverage.xml fail_ci_if_error: true diff --git a/pyproject.toml b/pyproject.toml index 1de2290..9dcd357 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,9 +2,14 @@ name = "pipreqs" version = "0.5.0" description = "Pip requirements.txt generator based on imports in project" -authors = ["Vadim Kravcenko "] +authors = [ + { name = "Vadim Kravcenko", email = "vadim.kravcenko@gmail.com" } +] +maintainers = [ + {name = "Jonas Eschle", email = "jonas.eschle@gmail.com"} +] license = "Apache-2.0" -readme = ["README.rst", "HISTORY.rst"] +readme = "README.rst" packages = [{ include = "pipreqs" }] repository = "https://github.com/bndr/pipreqs" keywords = ["pip", "requirements", "imports"] @@ -20,9 +25,8 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12" ] - +requires-python = ">=3.8, <3.13" dependencies = [ - "python>=3.8.1,<3.13", "yarg>=0.1.9", "docopt>=0.6.2", "nbconvert>=7.11.0", @@ -33,7 +37,7 @@ dev = [ "flake8>=6.1.0", "tox>=4.11.3", "coverage>=7.3.2", - "sphinx>=7.2.6;python_version>=3.9", + "sphinx>=7.2.6;python_version>='3.9'", ] From ebfa1f4832a632a5079b6c8f2c88958f1520686d Mon Sep 17 00:00:00 2001 From: Jonas Eschle Date: Mon, 7 Apr 2025 17:19:23 +0200 Subject: [PATCH 12/16] Upgrade dependencies in pyproject.toml and tests.yml --- .github/workflows/flake8.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index 819104d..a934906 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -8,9 +8,9 @@ jobs: name: Lint steps: - name: Check out source repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python environment - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: "3.9" - name: flake8 Lint From d6725caee61451c6e45bee9cacf3a90ceff86c92 Mon Sep 17 00:00:00 2001 From: Jonas Eschle Date: Mon, 7 Apr 2025 17:25:37 +0200 Subject: [PATCH 13/16] upgrade Python version --- .github/workflows/tests.yml | 2 +- pyproject.toml | 6 +++--- tox.ini | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 56a398d..ddda541 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9-7.3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.9-7.3.13'] steps: - name: Checkout repository diff --git a/pyproject.toml b/pyproject.toml index 9dcd357..d0772f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,13 +19,13 @@ classifiers = [ "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12" + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] -requires-python = ">=3.8, <3.13" +requires-python = ">=3.9, <3.14" dependencies = [ "yarg>=0.1.9", "docopt>=0.6.2", diff --git a/tox.ini b/tox.ini index 13f090e..6b4c648 100644 --- a/tox.ini +++ b/tox.ini @@ -1,20 +1,20 @@ [tox] isolated_build = true -envlist = py38, py39, py310, py311, py312, pypy3, flake8 +envlist = py39, py310, py311, py312, py313, pypy3, flake8 [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311 3.12: py312 - pypy-3.9-7.3.12: pypy3 + 3.13: py313 + pypy-3.9-7.3.13: pypy3 [testenv] setenv = PYTHONPATH = {toxinidir}:{toxinidir}/pipreqs -commands = +commands = python -m unittest discover [testenv:flake8] @@ -28,4 +28,4 @@ exclude = tests/_data_duplicated_deps/ tests/_data_ignore/ tests/_invalid_data/ -max-line-length = 120 \ No newline at end of file +max-line-length = 120 From 58d62cb7b833c8d24184cef1488cf89bd1de9e2d Mon Sep 17 00:00:00 2001 From: Jonas Eschle Date: Mon, 7 Apr 2025 18:02:59 +0200 Subject: [PATCH 14/16] Update pipreqs.py --- pipreqs/pipreqs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pipreqs/pipreqs.py b/pipreqs/pipreqs.py index fe6c3cc..93dcf77 100644 --- a/pipreqs/pipreqs.py +++ b/pipreqs/pipreqs.py @@ -110,6 +110,7 @@ def get_all_imports(path, encoding="utf-8", extra_ignore_dirs=None, follow_links "__pycache__", "env", "venv", + ".venv", ".ipynb_checkpoints", ] From 1f462ab50ae4fbfd6e96a82f340c7fdf4b22855e Mon Sep 17 00:00:00 2001 From: Jonas Eschle Date: Tue, 8 Apr 2025 09:43:46 +0200 Subject: [PATCH 15/16] upgrade Python version --- .github/workflows/tests.yml | 9 ++++----- pyproject.toml | 8 ++++++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ddda541..d36d335 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,8 +27,8 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install tox tox-gh-actions + python -m pip install uv + uv install --system tox tox-gh-actions - name: Test with tox run: tox @@ -42,9 +42,8 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install poetry - poetry install --with dev + python -m pip install uv poetry + uv install --system .[dev] - name: Calculate coverage run: poetry run coverage run --source=pipreqs -m unittest discover diff --git a/pyproject.toml b/pyproject.toml index d0772f4..9685b7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,9 +39,13 @@ dev = [ "coverage>=7.3.2", "sphinx>=7.2.6;python_version>='3.9'", ] +[tool.poetry.group.dev.dependencies] # for legacy usage +flake8 = "^6.1.0" +tox = "^4.11.3" +coverage = "^7.3.2" +sphinx = { version = "^7.2.6", python = ">=3.9" } - -[tool.poetry.scripts] +[project.scripts] pipreqs = "pipreqs.pipreqs:main" [build-system] From cdcf14bce65eb608011753c234843b2edae9a6e6 Mon Sep 17 00:00:00 2001 From: Jonas Eschle Date: Tue, 8 Apr 2025 09:44:41 +0200 Subject: [PATCH 16/16] fix typo --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d36d335..fb33bbf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,7 +28,7 @@ jobs: - name: Install dependencies run: | python -m pip install uv - uv install --system tox tox-gh-actions + uv pip install --system tox tox-gh-actions - name: Test with tox run: tox @@ -43,7 +43,7 @@ jobs: - name: Install dependencies run: | python -m pip install uv poetry - uv install --system .[dev] + uv pip install --system .[dev] - name: Calculate coverage run: poetry run coverage run --source=pipreqs -m unittest discover