diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bab4350..13cd6f4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,14 +9,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '>=3.12.0-rc.1'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] name: Run Tests with Python ${{ matrix.python-version }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} architecture: x64 @@ -28,7 +28,7 @@ jobs: run: pytest --cov=./pur --cov-report=xml - name: Upload Coverage - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} flags: unittests diff --git a/pur/__init__.py b/pur/__init__.py index 1d90414..a6aa9ab 100644 --- a/pur/__init__.py +++ b/pur/__init__.py @@ -447,7 +447,7 @@ def _parse_requirements(filename, finder, session, updates=None, **options): class PatchedRequirementsFileParser(RequirementsFileParser): - def _parse_and_recurse(self, filename, constraint): + def _parse_and_recurse(self, filename, constraint, *args, **kwargs): for line, orig_line in self._parse_file(filename, constraint): if ( line is not None and