Skip to content

Commit

Permalink
build/sage_bootstrap/app.py: Better regex for PEP-508 dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Mar 7, 2024
1 parent 72e02ad commit 74a3708
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/sage_bootstrap/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
from sage_bootstrap.env import SAGE_DISTFILES


dep_re = re.compile('([^<>=]*)')
# Approximation of https://peps.python.org/pep-0508/#names dependency specification
dep_re = re.compile('^ *([-A-Z0-9._]+)', re.IGNORECASE)


class Application(object):
Expand Down

0 comments on commit 74a3708

Please sign in to comment.