Skip to content

Commit

Permalink
Merge pull request #65 from dpvDuncan/master
Browse files Browse the repository at this point in the history
Add compatibility with pip 24
  • Loading branch information
alanhamlett authored Dec 11, 2024
2 parents 5ccfa03 + eabce47 commit ccd1ae4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion pur/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccd1ae4

Please sign in to comment.