Skip to content

Commit 905d3dd

Browse files
committed
Make the build reproducible
Whilst working on the Reproducible Builds effort [0] we noticed that libsass-python could not be built reproducibly. This is due to the manpage containing content that is generated by iterating over a Python frozenset type, which is non-deterministic. This was originally filed in Debian as #971527 [1]. [0] https://reproducible-builds.org/ [1] https://bugs.debian.org/971527
1 parent 88ddfc3 commit 905d3dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sassutils/builder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222

2323
#: (:class:`re.RegexObject`) The regular expression pattern which matches to
2424
#: filenames of supported :const:`SUFFIXES`.
25-
SUFFIX_PATTERN = re.compile('[.](' + '|'.join(map(re.escape, SUFFIXES)) + ')$')
25+
SUFFIX_PATTERN = re.compile(
26+
'[.](' + '|'.join(map(re.escape, sorted(SUFFIXES))) + ')$',
27+
)
2628

2729

2830
def build_directory(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy