Package Details: python-ufo2ft 3.6.8-1

Git Clone URL: https://aur.archlinux.org/python-ufo2ft.git (read-only, click to copy)
Package Base: python-ufo2ft
Description: A bridge from UFOs to FontTools objects
Upstream URL: https://github.com/googlefonts/ufo2ft
Licenses: MIT
Submitter: thrasibule
Maintainer: alerque (thrasibule)
Last Packager: alerque
Votes: 3
Popularity: 0.003150
First Submitted: 2019-08-18 01:33 (UTC)
Last Updated: 2025-10-15 21:33 (UTC)

Pinned Comments

alerque commented on 2021-08-03 10:41 (UTC)

PSA: Like most of the PKGBUILDs that I (co-)maintain, I host prebuilt packages for this in my user repository and all its dependencies for those who wish to install it using pacman without messing around with building from the AUR. Issues or contributions are welcome either in comments below or via this GitHub repository.

Latest Comments

1 2 3 Next › Last »

micwoj92 commented on 2025-11-10 00:58 (UTC) (edited on 2025-11-10 00:58 (UTC) by micwoj92)

Seems to require python-ufolib2 in deps too:

>>> import ufo2ft
/usr/lib/python3.13/site-packages/fs/__init__.py:4: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  __import__("pkg_resources").declare_namespace(__name__)  # type: ignore
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import ufo2ft
  File "/usr/lib/python3.13/site-packages/ufo2ft/__init__.py", line 1, in <module>
    from ufo2ft._compilers.interpolatableOTFCompiler import InterpolatableOTFCompiler
  File "/usr/lib/python3.13/site-packages/ufo2ft/_compilers/interpolatableOTFCompiler.py", line 11, in <module>
    from .baseCompiler import BaseInterpolatableCompiler
  File "/usr/lib/python3.13/site-packages/ufo2ft/_compilers/baseCompiler.py", line 19, in <module>
    from ufo2ft.instantiator import Instantiator
  File "/usr/lib/python3.13/site-packages/ufo2ft/instantiator.py", line 57, in <module>
    from ufoLib2.objects.info import NameRecord as ufoNameRecord
ModuleNotFoundError: No module named 'ufoLib2'

Coelacanthus commented on 2025-08-23 15:46 (UTC)

Please cherry-pick this PR to fix the test failures about usMaxContext changed from 0 to 1.

https://github.com/googlefonts/ufo2ft/pull/939

aragon123 commented on 2025-02-20 14:10 (UTC)

@peippo ah, thank you. I missed the comment with the Github repository :-)

peippo commented on 2025-02-20 12:58 (UTC)

I noticed the same, @aragon123, and opened a pull request in @alerque’s git repo (before seeing your comment)

aragon123 commented on 2024-09-20 15:14 (UTC)

The latest version requires python-syrupy to be added to checkdepends :-) Thank you for maintaining.

alerque commented on 2021-08-03 19:42 (UTC)

The latest build requires the brand new release of fonttools. I've bumped this for [community] but it might take a day or two to get there. Old features still work without it but new features actually do depend on it. If you are in a hurry you can build python-fonttools from the trunk branch or python-fonttools-git from AUR.

alerque commented on 2021-08-03 10:41 (UTC)

PSA: Like most of the PKGBUILDs that I (co-)maintain, I host prebuilt packages for this in my user repository and all its dependencies for those who wish to install it using pacman without messing around with building from the AUR. Issues or contributions are welcome either in comments below or via this GitHub repository.

alerque commented on 2021-07-19 15:59 (UTC) (edited on 2021-07-19 21:03 (UTC) by alerque)

You asked for smaller patches, here are two for python-cffsubr (and two more for python-compreffor, and two more for python-booleanoperations) for another one of your font tooling related packages that does not currently build at all in a clean chroot because the dependencies are broken and the build cycle is implement wrong.

alerque commented on 2021-07-19 15:12 (UTC) (edited on 2021-07-19 20:09 (UTC) by alerque)

The only "fix" that I see in this patch is the missing dependency on python-compreffor.

I'm sorry but this just isn't accurate. There were several other significant fixes, just adding python-compresffor to the checkdepends would still have left a broken package. I see you fixed at least two other things I fixed in other ways including patching them out of the upstream source, but my fixes for the setuptools-scm and test runners were also valid fixes.

If you'd prefer small patches I can to that too, but relaying them over AUR comments is clumsy. It's discouraging when suggesting in comments that they are broken nor sending patches has been working to get fixes through on many of your packages that I depend on for other things.

thrasibule commented on 2021-07-18 13:29 (UTC) (edited on 2021-07-18 13:29 (UTC) by thrasibule)

I don't value these patches that much since they're a kitchen sink of unrelated fixes:

  • you bump the version to 2.23.
  • there are various stylistic changes that serve no functional purpose.
  • your comment about the stable download url is inaccurate. The url I'm using is just as stable.

The end result is a patch that changes almost every single line. I'd rather have a patch that's atomic and fixes one thing at a time.

The only "fix" that I see in this patch is the missing dependency on python-compreffor. I've bumped the package and fixed the setup.py to not require python-pytest-runner and python-setuptools-scm which are not needed. Please let me know if this doesn't work for you. In the future, I'm happy to apply patches that fix specific issues. In particular I welcome help with tracking the various dependencies that are quite entangled, so it's hard to know what's really required.