Coder Social home page Coder Social logo

openstep-plist's Introduction

CI Build Status Coverage Status PyPI Join the chat at https://gitter.im/fonttools-dev/Lobby

What is this?

fontTools is a library for manipulating fonts, written in Python. The project includes the TTX tool, that can convert TrueType and OpenType fonts to and from an XML text format, which is also called TTX. It supports TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats. The project has an MIT open-source licence.
Among other things this means you can use it free of charge.

User documentation and developer documentation are available at Read the Docs.

Installation

FontTools requires Python 3.8 or later. We try to follow the same schedule of minimum Python version support as NumPy (see NEP 29).

The package is listed in the Python Package Index (PyPI), so you can install it with pip:

pip install fonttools

If you would like to contribute to its development, you can clone the repository from GitHub, install the package in 'editable' mode and modify the source code in place. We recommend creating a virtual environment, using virtualenv or Python 3 venv module.

# download the source code to 'fonttools' folder
git clone https://github.com/fonttools/fonttools.git
cd fonttools

# create new virtual environment called e.g. 'fonttools-venv', or anything you like
python -m virtualenv fonttools-venv

# source the `activate` shell script to enter the environment (Unix-like); to exit, just type `deactivate`
. fonttools-venv/bin/activate

# to activate the virtual environment in Windows `cmd.exe`, do
fonttools-venv\Scripts\activate.bat

# install in 'editable' mode
pip install -e .

Optional Requirements

The fontTools package currently has no (required) external dependencies besides the modules included in the Python Standard Library. However, a few extra dependencies are required by some of its modules, which are needed to unlock optional features. The fonttools PyPI distribution also supports so-called "extras", i.e. a set of keywords that describe a group of additional dependencies, which can be used when installing via pip, or when specifying a requirement. For example:

pip install fonttools[ufo,lxml,woff,unicode]

This command will install fonttools, as well as the optional dependencies that are required to unlock the extra features named "ufo", etc.

  • Lib/fontTools/misc/etree.py

    The module exports a ElementTree-like API for reading/writing XML files, and allows to use as the backend either the built-in xml.etree module or lxml. The latter is preferred whenever present, as it is generally faster and more secure.

    Extra: lxml

  • Lib/fontTools/ufoLib

    Package for reading and writing UFO source files; it requires:

    • fs: (aka pyfilesystem2) filesystem abstraction layer.
    • enum34: backport for the built-in enum module (only required on Python < 3.4).

    Extra: ufo

  • Lib/fontTools/ttLib/woff2.py

    Module to compress/decompress WOFF 2.0 web fonts; it requires:

    • brotli: Python bindings of the Brotli compression library.

    Extra: woff

  • Lib/fontTools/ttLib/sfnt.py

    To better compress WOFF 1.0 web fonts, the following module can be used instead of the built-in zlib library:

    • zopfli: Python bindings of the Zopfli compression library.

    Extra: woff

  • Lib/fontTools/unicode.py

    To display the Unicode character names when dumping the cmap table with ttx we use the unicodedata module in the Standard Library. The version included in there varies between different Python versions. To use the latest available data, you can install:

    • unicodedata2: unicodedata backport for Python 3.x updated to the latest Unicode version 15.0.

    Extra: unicode

  • Lib/fontTools/varLib/interpolatable.py

    Module for finding wrong contour/component order between different masters. It requires one of the following packages in order to solve the so-called "minimum weight perfect matching problem in bipartite graphs", or the Assignment problem:

    • scipy: the Scientific Library for Python, which internally uses NumPy arrays and hence is very fast;
    • munkres: a pure-Python module that implements the Hungarian or Kuhn-Munkres algorithm.

    To plot the results to a PDF or HTML format, you also need to install:

    • pycairo: Python bindings for the Cairo graphics library. Note that wheels are currently only available for Windows, for other platforms see pycairo's installation instructions.

    Extra: interpolatable

  • Lib/fontTools/varLib/plot.py

    Module for visualizing DesignSpaceDocument and resulting VariationModel.

    Extra: plot

  • Lib/fontTools/misc/symfont.py

    Advanced module for symbolic font statistics analysis; it requires:

    • sympy: the Python library for symbolic mathematics.

    Extra: symfont

  • Lib/fontTools/t1Lib.py

    To get the file creator and type of Macintosh PostScript Type 1 fonts on Python 3 you need to install the following module, as the old MacOS module is no longer included in Mac Python:

    • xattr: Python wrapper for extended filesystem attributes (macOS platform only).

    Extra: type1

  • Lib/fontTools/ttLib/removeOverlaps.py

    Simplify TrueType glyphs by merging overlapping contours and components.

    • skia-pathops: Python bindings for the Skia library's PathOps module, performing boolean operations on paths (union, intersection, etc.).

    Extra: pathops

  • Lib/fontTools/pens/cocoaPen.py and Lib/fontTools/pens/quartzPen.py

    Pens for drawing glyphs with Cocoa NSBezierPath or CGPath require:

    • PyObjC: the bridge between Python and the Objective-C runtime (macOS platform only).
  • Lib/fontTools/pens/qtPen.py

    Pen for drawing glyphs with Qt's QPainterPath, requires:

    • PyQt5: Python bindings for the Qt cross platform UI and application toolkit.
  • Lib/fontTools/pens/reportLabPen.py

    Pen to drawing glyphs as PNG images, requires:

    • reportlab: Python toolkit for generating PDFs and graphics.
  • Lib/fontTools/pens/freetypePen.py

    Pen to drawing glyphs with FreeType as raster images, requires:

    • freetype-py: Python binding for the FreeType library.
  • Lib/fontTools/ttLib/tables/otBase.py

    Use the Harfbuzz library to serialize GPOS/GSUB using hb_repack method, requires:

    • uharfbuzz: Streamlined Cython bindings for the harfbuzz shaping engine

    Extra: repacker

How to make a new release

  1. Update NEWS.rst with all the changes since the last release. Write a changelog entry for each PR, with one or two short sentences summarizing it, as well as links to the PR and relevant issues addressed by the PR. Do not put a new title, the next command will do it for you.
  2. Use semantic versioning to decide whether the new release will be a 'major', 'minor' or 'patch' release. It's usually one of the latter two, depending on whether new backward compatible APIs were added, or simply some bugs were fixed.
  3. Run python setup.py release command from the tip of the main branch. By default this bumps the third or 'patch' digit only, unless you pass --major or --minor to bump respectively the first or second digit. This bumps the package version string, extracts the changes since the latest version from NEWS.rst, and uses that text to create an annotated git tag (or a signed git tag if you pass the --sign option and your git and Github account are configured for signing commits using a GPG key). It also commits an additional version bump which opens the main branch for the subsequent developmental cycle
  4. Push both the tag and commit to the upstream repository, by running the command git push --follow-tags. Note: it may push other local tags as well, be careful.
  5. Let the CI build the wheel and source distribution packages and verify both get uploaded to the Python Package Index (PyPI).
  6. [Optional] Go to fonttools Github Releases page and create a new release, copy-pasting the content of the git tag message. This way, the release notes are nicely formatted as markdown, and users watching the repo will get an email notification. One day we shall automate that too.

Acknowledgements

In alphabetical order:

aschmitz, Olivier Berten, Samyak Bhuta, Erik van Blokland, Petr van Blokland, Jelle Bosma, Sascha Brawer, Tom Byrer, Antonio Cavedoni, Frédéric Coiffier, Vincent Connare, David Corbett, Simon Cozens, Dave Crossland, Simon Daniels, Peter Dekkers, Behdad Esfahbod, Behnam Esfahbod, Hannes Famira, Sam Fishman, Matt Fontaine, Takaaki Fuji, Rob Hagemans, Yannis Haralambous, Greg Hitchcock, Jeremie Hornus, Khaled Hosny, John Hudson, Denis Moyogo Jacquerye, Jack Jansen, Tom Kacvinsky, Jens Kutilek, Antoine Leca, Werner Lemberg, Tal Leming, Peter Lofting, Cosimo Lupo, Olli Meier, Masaya Nakamura, Dave Opstad, Laurence Penney, Roozbeh Pournader, Garret Rieger, Read Roberts, Colin Rofls, Guido van Rossum, Just van Rossum, Andreas Seidel, Georg Seifert, Chris Simpkins, Miguel Sousa, Adam Twardoch, Adrien Tétar, Vitaly Volkov, Paul Wise.

Copyrights

Copyright (c) 1999-2004 Just van Rossum, LettError ([email protected])
See LICENSE for the full license.

Copyright (c) 2000 BeOpen.com. All Rights Reserved.

Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved.

Have fun!

openstep-plist's People

Contributors

anthrotype avatar ivanukhov avatar khaledhosny avatar madig avatar simoncozens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

openstep-plist's Issues

Support Glyphs-style "tuples"

Glyphs 3 plist files have "tuples" which appear on a single line even when other lines are separated/indented. The easiest way to support this would be to remove the if indent is not None... blocks from write_array_from_tuple. However, this may have Unintended Consequences.

Investigate a compilation failure for linux/arm64

Hello,

It is more of a question to see if you have experienced something this. It has been noted that this specific package has started to cause compilation failures, and so far, it has always been in the context of building a Docker image for the linux/arm64 platform, which as when you build with Apple silicon or in GitHub Actions with an emulator.

The exact same workflow with no change in between was succeeded a month or so ago. It could then be something about the runner images, which periodically received updates. Is it plausible? Do you have any other guesses?

Thank you!

https://github.com/actions/runner-images/blob/ubuntu22/20230821.1/images/linux/Ubuntu2204-Readme.md

https://github.com/actions/runner-images/blob/ubuntu22/20230710.1/images/linux/Ubuntu2204-Readme.md

#44 149.0   Building wheel for openstep-plist (pyproject.toml): finished with status 'error'
#44 149.4   error: subprocess-exited-with-error
#44 149.4   
#44 149.4   × Building wheel for openstep-plist (pyproject.toml) did not run successfully.
#44 149.4   │ exit code: 1
#44 149.4   ╰─> [348 lines of output]
#44 149.4       <string>:7: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
#44 149.4       /tmp/pip-build-env-s9z2g2h1/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
#44 149.4       !!
#44 149.4       
#44 149.4               ********************************************************************************
#44 149.4               The license_file parameter is deprecated, use license_files instead.
#44 149.4       
#44 149.4               By 2023-Oct-30, you need to update your project and remove deprecated calls
#44 149.4               or your builds will no longer be supported.
#44 149.4       
#44 149.4               See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
#44 149.4               ********************************************************************************
#44 149.4       
#44 149.4       !!
#44 149.4         parsed = self.parsers.get(option_name, lambda x: x)(value)
#44 149.4       running bdist_wheel
#44 149.4       running build
#44 149.4       running build_py
#44 149.4       creating build
#44 149.4       creating build/lib.linux-aarch64-cpython-39
#44 149.4       creating build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/_version.py -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/__init__.py -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/__main__.py -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       running egg_info
#44 149.4       writing src/openstep_plist.egg-info/PKG-INFO
#44 149.4       writing dependency_links to src/openstep_plist.egg-info/dependency_links.txt
#44 149.4       writing top-level names to src/openstep_plist.egg-info/top_level.txt
#44 149.4       reading manifest file 'src/openstep_plist.egg-info/SOURCES.txt'
#44 149.4       reading manifest template 'MANIFEST.in'
#44 149.4       adding license file 'LICENSE'
#44 149.4       writing manifest file 'src/openstep_plist.egg-info/SOURCES.txt'
#44 149.4       copying src/openstep_plist/_test.cpp -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/_test.pyx -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/parser.cpp -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/parser.pxd -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/parser.pyx -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/util.cpp -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/util.pxd -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/util.pyx -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/writer.cpp -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/writer.pxd -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       copying src/openstep_plist/writer.pyx -> build/lib.linux-aarch64-cpython-39/openstep_plist
#44 149.4       running build_ext
#44 149.4       building 'openstep_plist.parser' extension
#44 149.4       creating build/temp.linux-aarch64-cpython-39
#44 149.4       creating build/temp.linux-aarch64-cpython-39/src
#44 149.4       creating build/temp.linux-aarch64-cpython-39/src/openstep_plist
#44 149.4       aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DCYTHON_TRACE_NOGIL=1 -I/install/include -I/usr/include/python3.9 -c src/openstep_plist/parser.cpp -o build/temp.linux-aarch64-cpython-39/src/openstep_plist/parser.o -std=c++11
#44 149.4       src/openstep_plist/parser.cpp: In function ‘PyObject* __pyx_f_14openstep_plist_6parser_parse_quoted_plist_string(__pyx_t_14openstep_plist_6parser_ParseInfo*, Py_UNICODE)’:
#44 149.4       src/openstep_plist/parser.cpp:4730:103: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations]
#44 149.4        4730 |   __pyx_t_6 = PyUnicode_FromUnicode(((Py_UNICODE const *)__pyx_v_string.data()), __pyx_v_string.size()); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 231, __pyx_L1_error)
#44 149.4             |                                                                                                       ^
#44 149.4       In file included from /usr/include/python3.9/unicodeobject.h:1026,
#44 149.4                        from /usr/include/python3.9/Python.h:97,
#44 149.4                        from src/openstep_plist/parser.cpp:39:
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here
#44 149.4         551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
#44 149.4             |                                          ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/parser.cpp: In function ‘PyObject* __pyx_pf_14openstep_plist_6parser_string_to_number(PyObject*, PyObject*, int)’:
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#44 149.4             |                                                                           ^
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#44 149.4         261 |       PyUnicode_WSTR_LENGTH(op) :                    \
#44 149.4             |       ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/parser.cpp:4908:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        4908 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_s);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#44 149.4         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#44 149.4             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
#44 149.4             |                                                    ^
#44 149.4       src/openstep_plist/parser.cpp:4908:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        4908 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_s);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#44 149.4         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#44 149.4             |                                             ^~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#44 149.4             |                                                                           ^
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#44 149.4         264 |        PyUnicode_WSTR_LENGTH(op)))
#44 149.4             |        ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/parser.cpp:4908:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        4908 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_s);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#44 149.4         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#44 149.4             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
#44 149.4             |                                             ^
#44 149.4       src/openstep_plist/parser.cpp:4927:19: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
#44 149.4        4927 |     __pyx_v_buf = PyUnicode_AS_UNICODE(__pyx_v_s);
#44 149.4             |                   ^~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#44 149.4         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#44 149.4             |                                             ^~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/parser.cpp: In function ‘PyObject* __pyx_f_14openstep_plist_6parser_parse_unquoted_plist_string(__pyx_t_14openstep_plist_6parser_ParseInfo*, __pyx_opt_args_14openstep_plist_6parser_parse_unquoted_plist_string*)’:
#44 149.4       src/openstep_plist/parser.cpp:5596:67: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations]
#44 149.4        5596 |     __pyx_t_3 = PyUnicode_FromUnicode(__pyx_v_mark, __pyx_v_length); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 318, __pyx_L1_error)
#44 149.4             |                                                                   ^
#44 149.4       In file included from /usr/include/python3.9/unicodeobject.h:1026,
#44 149.4                        from /usr/include/python3.9/Python.h:97,
#44 149.4                        from src/openstep_plist/parser.cpp:39:
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here
#44 149.4         551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
#44 149.4             |                                          ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/parser.cpp: In function ‘PyObject* __pyx_pf_14openstep_plist_6parser_2loads(PyObject*, PyObject*, PyObject*, int)’:
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#44 149.4             |                                                                           ^
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#44 149.4         261 |       PyUnicode_WSTR_LENGTH(op) :                    \
#44 149.4             |       ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/parser.cpp:8410:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        8410 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_s);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#44 149.4         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#44 149.4             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
#44 149.4             |                                                    ^
#44 149.4       src/openstep_plist/parser.cpp:8410:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        8410 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_s);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#44 149.4         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#44 149.4             |                                             ^~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#44 149.4             |                                                                           ^
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#44 149.4         264 |        PyUnicode_WSTR_LENGTH(op)))
#44 149.4             |        ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/parser.cpp:8410:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        8410 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_s);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#44 149.4         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#44 149.4             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
#44 149.4             |                                             ^
#44 149.4       src/openstep_plist/parser.cpp:8419:17: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
#44 149.4        8419 |   __pyx_v_buf = PyUnicode_AS_UNICODE(__pyx_v_s);
#44 149.4             |                 ^~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#44 149.4         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#44 149.4             |                                             ^~~~~~~~~~~~~~~~~~~
#44 149.4       aarch64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-aarch64-cpython-39/src/openstep_plist/parser.o -L/usr/lib -o build/lib.linux-aarch64-cpython-39/openstep_plist/parser.cpython-39-aarch64-linux-gnu.so
#44 149.4       building 'openstep_plist.util' extension
#44 149.4       aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DCYTHON_TRACE_NOGIL=1 -I/install/include -I/usr/include/python3.9 -c src/openstep_plist/util.cpp -o build/temp.linux-aarch64-cpython-39/src/openstep_plist/util.o -std=c++11
#44 149.4       aarch64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-aarch64-cpython-39/src/openstep_plist/util.o -L/usr/lib -o build/lib.linux-aarch64-cpython-39/openstep_plist/util.cpython-39-aarch64-linux-gnu.so
#44 149.4       building 'openstep_plist.writer' extension
#44 149.4       aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DCYTHON_TRACE_NOGIL=1 -I/install/include -I/usr/include/python3.9 -c src/openstep_plist/writer.cpp -o build/temp.linux-aarch64-cpython-39/src/openstep_plist/writer.o -std=c++11
#44 149.4       In file included from /usr/include/c++/10/bits/stl_algobase.h:67,
#44 149.4                        from /usr/include/c++/10/bits/char_traits.h:39,
#44 149.4                        from /usr/include/c++/10/ios:40,
#44 149.4                        from src/openstep_plist/writer.cpp:1186:
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h: In instantiation of ‘class std::back_insert_iterator<std::vector<wchar_t>&>’:
#44 149.4       src/openstep_plist/writer.cpp:4464:201:   required from here
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h:600:19: error: forming pointer to reference type ‘std::vector<wchar_t>&’
#44 149.4         600 |       _Container* container;
#44 149.4             |                   ^~~~~~~~~
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h:637:7: error: ‘std::vector<wchar_t>&’ is not a class, struct, or union type
#44 149.4         637 |       operator=(const typename _Container::value_type& __value)
#44 149.4             |       ^~~~~~~~
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h:645:7: error: ‘std::vector<wchar_t>&’ is not a class, struct, or union type
#44 149.4         645 |       operator=(typename _Container::value_type&& __value)
#44 149.4             |       ^~~~~~~~
#44 149.4       src/openstep_plist/writer.cpp: In function ‘PyObject* __pyx_f_14openstep_plist_6writer_6Writer__getvalue(__pyx_obj_14openstep_plist_6writer_Writer*)’:
#44 149.4       src/openstep_plist/writer.cpp:4530:113: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations]
#44 149.4        4530 |   __pyx_t_1 = PyUnicode_FromUnicode(((Py_UNICODE const *)__pyx_v_self->dest->data()), __pyx_v_self->dest->size()); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 170, __pyx_L1_error)
#44 149.4             |                                                                                                                 ^
#44 149.4       In file included from /usr/include/python3.9/unicodeobject.h:1026,
#44 149.4                        from /usr/include/python3.9/Python.h:97,
#44 149.4                        from src/openstep_plist/writer.cpp:39:
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here
#44 149.4         551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
#44 149.4             |                                          ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/writer.cpp: In function ‘Py_ssize_t __pyx_f_14openstep_plist_6writer_6Writer_write_unquoted_string(__pyx_obj_14openstep_plist_6writer_Writer*, PyObject*)’:
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
#44 149.4             |                                             ^
#44 149.4       src/openstep_plist/writer.cpp:5937:15: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
#44 149.4        5937 |   __pyx_v_s = PyUnicode_AS_UNICODE(__pyx_v_string);
#44 149.4             |               ^~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#44 149.4         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#44 149.4             |                                             ^~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#44 149.4             |                                                                           ^
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#44 149.4         261 |       PyUnicode_WSTR_LENGTH(op) :                    \
#44 149.4             |       ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/writer.cpp:5946:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        5946 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#44 149.4         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#44 149.4             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
#44 149.4             |                                                    ^
#44 149.4       src/openstep_plist/writer.cpp:5946:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        5946 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#44 149.4         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#44 149.4             |                                             ^~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#44 149.4             |                                                                           ^
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#44 149.4         264 |        PyUnicode_WSTR_LENGTH(op)))
#44 149.4             |        ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/writer.cpp:5946:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        5946 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#44 149.4         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#44 149.4             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/writer.cpp: In function ‘Py_ssize_t __pyx_f_14openstep_plist_6writer_6Writer_write_string(__pyx_obj_14openstep_plist_6writer_Writer*, PyObject*)’:
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
#44 149.4             |                                             ^
#44 149.4       src/openstep_plist/writer.cpp:6008:15: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
#44 149.4        6008 |   __pyx_v_s = PyUnicode_AS_UNICODE(__pyx_v_string);
#44 149.4             |               ^~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#44 149.4         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#44 149.4             |                                             ^~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#44 149.4             |                                                                           ^
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#44 149.4         261 |       PyUnicode_WSTR_LENGTH(op) :                    \
#44 149.4             |       ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/writer.cpp:6017:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        6017 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#44 149.4         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#44 149.4             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
#44 149.4             |                                                    ^
#44 149.4       src/openstep_plist/writer.cpp:6017:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        6017 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#44 149.4         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#44 149.4             |                                             ^~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#44 149.4             |                                                                           ^
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#44 149.4         264 |        PyUnicode_WSTR_LENGTH(op)))
#44 149.4             |        ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/writer.cpp:6017:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        6017 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#44 149.4         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#44 149.4             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/writer.cpp: In function ‘Py_ssize_t __pyx_f_14openstep_plist_6writer_6Writer_write_short_float_repr(__pyx_obj_14openstep_plist_6writer_Writer*, PyObject*)’:
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:279:45: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         279 |       PyUnicode_AsUnicode(_PyObject_CAST(op)))
#44 149.4             |                                             ^
#44 149.4       src/openstep_plist/writer.cpp:6150:15: note: in expansion of macro ‘PyUnicode_AS_UNICODE’
#44 149.4        6150 |   __pyx_v_s = PyUnicode_AS_UNICODE(__pyx_v_string);
#44 149.4             |               ^~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#44 149.4         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#44 149.4             |                                             ^~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#44 149.4             |                                                                           ^
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#44 149.4         261 |       PyUnicode_WSTR_LENGTH(op) :                    \
#44 149.4             |       ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/writer.cpp:6159:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        6159 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#44 149.4         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#44 149.4             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
#44 149.4             |                                                    ^
#44 149.4       src/openstep_plist/writer.cpp:6159:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        6159 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#44 149.4         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#44 149.4             |                                             ^~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
#44 149.4         451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#44 149.4             |                                                                           ^
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
#44 149.4         264 |        PyUnicode_WSTR_LENGTH(op)))
#44 149.4             |        ^~~~~~~~~~~~~~~~~~~~~
#44 149.4       src/openstep_plist/writer.cpp:6159:20: note: in expansion of macro ‘PyUnicode_GET_SIZE’
#44 149.4        6159 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);
#44 149.4             |                    ^~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#44 149.4         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#44 149.4             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#44 149.4       In file included from /usr/include/c++/10/bits/stl_algobase.h:67,
#44 149.4                        from /usr/include/c++/10/bits/char_traits.h:39,
#44 149.4                        from /usr/include/c++/10/ios:40,
#44 149.4                        from src/openstep_plist/writer.cpp:1186:
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h: In instantiation of ‘std::back_insert_iterator<_Container>::back_insert_iterator(_Container&) [with _Container = std::vector<wchar_t>&]’:
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h:686:14:   required from ‘std::back_insert_iterator<_Container> std::back_inserter(_Container&) [with _Container = std::vector<wchar_t>&]’
#44 149.4       src/openstep_plist/writer.cpp:4464:201:   required from here
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h:614:40: error: using invalid field ‘std::back_insert_iterator<_Container>::container’
#44 149.4         614 |       : container(std::__addressof(__x)) { }
#44 149.4             |                                        ^
#44 149.4       In file included from /usr/include/c++/10/bits/char_traits.h:39,
#44 149.4                        from /usr/include/c++/10/ios:40,
#44 149.4                        from src/openstep_plist/writer.cpp:1186:
#44 149.4       /usr/include/c++/10/bits/stl_algobase.h: In instantiation of ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const wchar_t*; _OI = std::back_insert_iterator<std::vector<wchar_t>&>]’:
#44 149.4       /usr/include/c++/10/bits/stl_algobase.h:472:30:   required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const wchar_t*; _OI = std::back_insert_iterator<std::vector<wchar_t>&>]’
#44 149.4       /usr/include/c++/10/bits/stl_algobase.h:506:42:   required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const wchar_t*; _OI = std::back_insert_iterator<std::vector<wchar_t>&>]’
#44 149.4       /usr/include/c++/10/bits/stl_algobase.h:514:31:   required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const wchar_t*; _OI = std::back_insert_iterator<std::vector<wchar_t>&>]’
#44 149.4       /usr/include/c++/10/bits/stl_algobase.h:569:7:   required from ‘_OI std::copy(_II, _II, _OI) [with _II = const wchar_t*; _OI = std::back_insert_iterator<std::vector<wchar_t>&>]’
#44 149.4       src/openstep_plist/writer.cpp:4464:202:   required from here
#44 149.4       /usr/include/c++/10/bits/stl_algobase.h:380:18: error: no match for ‘operator=’ (operand types are ‘std::back_insert_iterator<std::vector<wchar_t>&>’ and ‘const wchar_t’)
#44 149.4         380 |        *__result = *__first;
#44 149.4             |        ~~~~~~~~~~^~~~~~~~~~
#44 149.4       In file included from /usr/include/c++/10/bits/stl_algobase.h:67,
#44 149.4                        from /usr/include/c++/10/bits/char_traits.h:39,
#44 149.4                        from /usr/include/c++/10/ios:40,
#44 149.4                        from src/openstep_plist/writer.cpp:1186:
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h:596:11: note: candidate: ‘std::back_insert_iterator<std::vector<wchar_t>&>& std::back_insert_iterator<std::vector<wchar_t>&>::operator=(const std::back_insert_iterator<std::vector<wchar_t>&>&)’
#44 149.4         596 |     class back_insert_iterator
#44 149.4             |           ^~~~~~~~~~~~~~~~~~~~
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h:596:11: note:   no known conversion for argument 1 from ‘const wchar_t’ to ‘const std::back_insert_iterator<std::vector<wchar_t>&>&’
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h:596:11: note: candidate: ‘std::back_insert_iterator<std::vector<wchar_t>&>& std::back_insert_iterator<std::vector<wchar_t>&>::operator=(std::back_insert_iterator<std::vector<wchar_t>&>&&)’
#44 149.4       /usr/include/c++/10/bits/stl_iterator.h:596:11: note:   no known conversion for argument 1 from ‘const wchar_t’ to ‘std::back_insert_iterator<std::vector<wchar_t>&>&&’
#44 149.4       error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
#44 149.4       [end of output]
#44 149.4   
#44 149.4   note: This error originates from a subprocess, and is likely not a problem with pip.
#44 149.4   ERROR: Failed building wheel for openstep-plist

Pypy compilation broken

https://github.com/fonttools/openstep-plist/pull/11/checks?check_run_id=3223222589#step:5:1618

   ____________________ ERROR collecting tests/test_parser.py _____________________
  /project/tests/test_parser.py:6: in <module>
      from openstep_plist._test import (
  /tmp/tmp.DzCeH7rRjP/venv/site-packages/openstep_plist/__init__.py:1: in <module>
      from .parser import load, loads, ParseError
  src/openstep_plist/parser.pyx:1: in init openstep_plist.parser
      ???
  E   ValueError: array.array size changed, may indicate binary incompatibility. Expected 72 from C header, got 24 from PyObject

no universal2 wheels for ARM64-based M1 macs on PyPI

installing openstep-plist on a M1 mac requires building from source, which fails if one doesn't have the compiler toolchain set up.
We need to publish precompiled wheels like we do for the rest of the modules in our font build pipeline. Usually it's as easy as updating cibuildwheel

PyUnicode deprecated functions

These appear to be deprecated in 3.11:

src/openstep_plist/writer.cpp:4530:15: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations]
  __pyx_t_1 = PyUnicode_FromUnicode(((Py_UNICODE const *)__pyx_v_self->dest->data()), __pyx_v_self->dest->size()); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 170, __pyx_L1_error)


src/openstep_plist/writer.cpp:5937:15: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  __pyx_v_s = PyUnicode_AS_UNICODE(__pyx_v_string);

src/openstep_plist/writer.cpp:5946:20: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);

src/openstep_plist/writer.cpp:6008:15: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  __pyx_v_s = PyUnicode_AS_UNICODE(__pyx_v_string);

src/openstep_plist/writer.cpp:6017:20: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);

src/openstep_plist/writer.cpp:6150:15: warning: 'PyUnicode_AS_UNICODE' is deprecated [-Wdeprecated-declarations]
  __pyx_v_s = PyUnicode_AS_UNICODE(__pyx_v_string);

src/openstep_plist/writer.cpp:6159:20: warning: 'PyUnicode_GET_SIZE' is deprecated [-Wdeprecated-declarations]
  __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_string);


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.