Skip to content

Investigate packaging endcord 1.3.0 #4919

Description

@chenrui333

Source-build packaging for endcord 1.3.0 is currently blocked.

Evidence collected locally on macOS:

  1. brew update-python-resources /tmp/endcord-formula-lab/Formula/e/endcord.rb failed because pip could not determine dependencies for the upstream source tarball.
  2. Reproducing the exact pip dry-run showed upstream metadata/build discovery fails immediately:
ModuleNotFoundError: No module named 'Cython'
ERROR: Failed to build 'https://github.com/sparklost/endcord/archive/refs/tags/1.3.0.tar.gz' when getting requirements to build wheel

Command used:

/opt/homebrew/opt/python@3.13/libexec/bin/python -m pip install -v --disable-pip-version-check --dry-run --ignore-installed --report=/dev/stdout https://github.com/sparklost/endcord/archive/refs/tags/1.3.0.tar.gz
  1. A follow-up attempt with Cython preinstalled and --no-build-isolation got past the first failure but still showed the project is using nonstandard packaging metadata/workflows that need manual formula workarounds rather than the normal Homebrew Python resource flow.

What this means for the formula:

  • normal virtualenv_install_with_resources generation is blocked
  • upstream source metadata likely needs a formula-side patch or upstream fix so Cython is declared correctly for source builds
  • the CLI also appears to require a manual wrapper around main.py, since upstream is not exposing a standard console script entry point in pyproject.toml

Decision needed:

  • either patch the formula around the broken metadata/manual wrapper path
  • or wait for an upstream packaging fix before adding endcord

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions