Opened 2 years ago

Closed 23 months ago

#66154 closed update (fixed)

py-pyobjc: Update to 8.6

Reported by: mf2k (Frank Schima) Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-pyobjc

Description (last modified by mf2k (Frank Schima))

Can py-pyobjc be at least updated to version 8.6? See #66052. It appears that version 9 may be required for Ventura.

Change History (5)

comment:1 Changed 2 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 23 months ago by Schamschula (Marius Schamschula)

It looks like version 9.0 is also need to py311 (and py312).

comment:4 Changed 23 months ago by mf2k (Frank Schima)

Description: modified (diff)

comment:5 Changed 23 months ago by danchr (Dan Villiom Podlaski Christiansen)

Resolution: fixed
Status: assignedclosed

In 89756876d36a5e58e4e41b87e3aab1176813c44c/macports-ports (master):

py-pyobjc: update to 9.0

Generally speaking, upgrading pyobjc involves:

  1. Applying the current patches to the corresponding version.
  2. Rebasing the commits onto the desired version, resolving any conflicts.
  3. Remove any spurious Werror introductions using a command such as:

find . -name pyobjc_setup.py \

| xargs sed -i '/if "-Werror" not in cflags:/{N; N; d; }'

  1. Amend the final commit to reflect any new changes picked up.
  2. Export the resulting commits as patches.

The reason for this rather involved process is the build system, which
isn't quite normal Python, and which introduces -Werror all over the
place, frequently breaking older systems.

Closes: #66154

Note: See TracTickets for help on using tickets.