python-wheel-build / fromager

Build your own wheels
https://fromager.readthedocs.io/en/latest/
Apache License 2.0
7 stars 11 forks source link

add package-specific settings files #314

Closed dhellmann closed 2 months ago

dhellmann commented 2 months ago

Support settings for individual packages in separate files for easier sharing and management. This also makes it easier to set up jobs to test builds of specific packages when their settings change, without building packages that have no changes.

dhellmann commented 2 months ago

We can probably change this function now since we are already doing the canonicalization while parsing https://github.com/python-wheel-build/fromager/pull/314/files#diff-c369c9fdcaebf0093b83132356c90dff71d762e0ced16bee8fa37d0d96259ce4R25

    def packages(self) -> dict[str, dict[str, str]]:
        return self._return_value_or_default(self._data.get("packages"), {})

I added a commit to make this update.