| 80 | extra_lock_args: tuple[str, ...] = () |
| 81 | |
| 82 | def current_platform(self) -> PlatformConfig: |
| 83 | for platform_config in self.platforms: |
| 84 | if platform_config.platform is SysPlatform.CURRENT: |
| 85 | return platform_config |
| 86 | raise KeyError( |
| 87 | f"This scie configuration does not contain an entry for platform " |
| 88 | f"{SysPlatform.CURRENT!r}, only the following platforms are defined: " |
| 89 | f"{', '.join(platform_config.name for platform_config in self.platforms)}" |
| 90 | ) |
| 91 | |
| 92 | def encode(self) -> str: |
| 93 | pbs_releases: Counter[str] = Counter() |