Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benjello committed May 31, 2024
1 parent 08055f0 commit 620d00a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/get_minimal_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# dependencies in order to ensure their compatibility during CI testing
with open('./setup.py') as file:
for line in file:
version = re.search(r'(Core|France-Pension)\s*>=\s*([\d\.]*)', line)
# version = re.search(r'(Core|France-Pension)\s*>=\s*([\d\.]*)', line) # Use when proper core version will be used
version = re.search(r'(France-Pension)\s*>=\s*([\d\.]*)', line)
if version:
print(f'Openfisca-{version[1]}=={version[2]}') # noqa: T201 <- This is to avoid flake8 print detection.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
"flake8-print",
"pycodestyle >=2.6.0",
],
"scenario": [
"OpenFisca-Survey-Manager >=0.46.6,<1.0.0",
"pyreadr>=0.4.2,<1.0.0",
]
# "scenario": [
# # "OpenFisca-Survey-Manager >=0.46.6,<1.0.0",
# # "pyreadr>=0.4.2,<1.0.0",
# ]
},
packages=find_packages(),
)

0 comments on commit 620d00a

Please sign in to comment.