spacetelescope / drizzle

A package for combining dithered images into a single image

Home Page:https://spacetelescope-drizzle.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning during build due to usage of dash-separated keys in pyproject.toml

braingram opened this issue · comments

I noticed a few warning in the failed build log posted (the failure appears unrelated to the issue reported here):
spacetelescope/jwst#7721

      ********************************************************************************
      Usage of dash-separated 'upload-dir' will not be supported in future
      versions. Please use the underscore name 'upload_dir' instead.

      By 2023-Sep-26, you need to update your project and remove deprecated calls
      or your builds will no longer be supported.

      See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
      ********************************************************************************

I'm unable to find a migration guide but I think this should be fixed by switching the key separators from - to _. I tried to test this locally but don't see the same errors. Perhaps @zacharyburnett knows about this deprecation and which keys need to be updated before they result in build failures in September.