Skip to content

Commit

Permalink
Merge pull request #674 from pypa/warn-flit-buildapi
Browse files Browse the repository at this point in the history
Warn if packages still using flit.buildapi instead of flit_core.buildapi
  • Loading branch information
takluyver authored Oct 18, 2024
2 parents c5b0261 + 1cf3156 commit 9b1ef13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flit/buildapi.py
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
from warnings import warn
warn('A package has specified `build-backend = "flit.buildapi"` and is being '
'built with Flit >= 3.10. This is likely to break in a future version. '
'Please change the backend to flit_core.buildapi, and/or specify a '
'maximum version of Flit.')
from flit_core.buildapi import *

0 comments on commit 9b1ef13

Please sign in to comment.