Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(python): change extra names to comply with PEP 685 (#446) #446

Merged
merged 3 commits into from
Mar 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,21 @@
"snakemake==7.32.4 ; python_version>='3.7'",
"tabulate<0.9",
"pulp>=2.7.0,<2.8.0",
"smart-open<7 ; python_version<'3.7'", # see https://github.com/piskvorky/smart_open/issues/806
],
"snakemake_reports": [
"snakemake==6.15.5 ; python_version<'3.7'",
"snakemake==7.32.4 ; python_version>='3.7'",
"snakemake-reports": [
"snakemake[reports]==6.15.5 ; python_version<'3.7'",
"snakemake[reports]==7.32.4 ; python_version>='3.7'",
"pygraphviz<1.8",
"tabulate<0.9", # tabulate 0.9 crashes snakemake, more info: https://github.com/snakemake/snakemake/issues/1899
"pulp>=2.7.0,<2.8.0",
"smart-open<7 ; python_version<'3.7'", # see https://github.com/piskvorky/smart_open/issues/806
],
}

# backwards compatibility with extras before PEP 685
extras_require["snakemake_reports"] = extras_require["snakemake-reports"]

extras_require["all"] = []
for key, reqs in extras_require.items():
if ":" == key[0]:
Expand Down
Loading