Skip to content

Commit

Permalink
Preserve pip_pre in testenv:py313-dev section
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Jun 17, 2024
1 parent af59f88 commit 6c68a49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repo_helper/files/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,8 @@ def merge_existing(self, ini_file: pathlib.Path) -> None:
if section.name.startswith("testenv:py312-") and section.name in self._ini.sections():
continue
if section.name.startswith("testenv:py313-") and section.name in self._ini.sections():
if section.name == "testenv:py313-dev" and "pip_pre" in section:
self._ini["testenv:py313-dev"]["pip_pre"] = section["pip_pre"].value
continue

if section.name not in self.managed_sections:
Expand Down

0 comments on commit 6c68a49

Please sign in to comment.