Skip to content

Commit

Permalink
Handle new options in mkrecipe 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Jun 27, 2024
1 parent 193d134 commit 3d4dc84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repo_helper/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def load_config(self) -> Dict[str, Any]:
config["optional-dependencies"] = config["extras_require"]
config["dependencies"] = sorted(read_requirements(self.project_dir / "requirements.txt")[0])
config["requires"] = ["setuptools", "wheel"]
config["max-python-version"] = None # TODO
config["min-python-version"] = None # TODO

if config["conda_extras"] in (["none"], ["all"]):
config["extras"] = config["conda_extras"][0]
Expand Down

0 comments on commit 3d4dc84

Please sign in to comment.