gecko-dev/python/mozbuild/mozpack
ahochheiden 964834abba Bug 1769631 - Remove 'U' from 'mode' parameters for various 'open' calls to ensure Python3.11 compatibility r=firefox-build-system-reviewers,glandium
The 'U' flag represents "universal newline". It has been deprecated
since Python3.3. Since then "universal newline" is the default when a
file is opened in text mode (not bytes). In Python3.11 using the 'U'
flag throws errors. There should be no harm in removing 'U' from 'open'
everywhere it is used, and doing allows the use of Python3.11.

For more reading see: https://docs.python.org/3.11/whatsnew/3.11.html#changes-in-the-python-api

Differential Revision: https://phabricator.services.mozilla.com/D147721
2022-06-02 06:27:44 +00:00
..
chrome Bug 1766085 - Replace some uses of distutils.version with packaging.version. r=glandium 2022-05-17 01:04:17 +00:00
packager Bug 1752968 - Make single-locale l10n repacks minify .properties files. r=firefox-build-system-reviewers,eemeli,glandium 2022-03-02 17:43:48 +00:00
test Bug 1752968 - Minify Fluent .ftl files in addition to .properties files. r=eemeli 2022-03-02 17:43:49 +00:00
__init__.py
archive.py
copier.py
dmg.py
errors.py
executables.py Bug 1745092 - Remove optional XZ compression of executables during packaging. r=firefox-build-system-reviewers,nalexander 2021-12-09 06:35:18 +00:00
files.py Bug 1769631 - Remove 'U' from 'mode' parameters for various 'open' calls to ensure Python3.11 compatibility r=firefox-build-system-reviewers,glandium 2022-06-02 06:27:44 +00:00
manifests.py
mozjar.py Bug 1752630 - Use UNIX permissions in packaged omnijars and XPIs. r=glandium 2022-03-04 16:52:45 +00:00
path.py
unify.py Bug 1753292 - Don't re-order entries in macOS unified build omnijars. r=firefox-build-system-reviewers,mhentges 2022-02-10 17:10:52 +00:00