GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 0.150.0: cython 3.3.0 breaks build · Issue #1818 · python-zeroconf/python-zeroconf

0.150.0: cython 3.3.0 breaks build #1818

New issue
Copy link
New issue
Copy link
Closed
#1820
Closed
0.150.0: cython 3.3.0 breaks build#1818
#1820
Copy link

Description

@0-wiz-0
0-wiz-0
opened on Aug 25, 2026
Issue body actions

After updating cython in pkgsrc to 3.3.0, the build of zeroconf 0.150.0 starting showing the following error:

[ 1/18] Cythonizing src/zeroconf/_cache.py

Error compiling Cython file:
------------------------------------------------------------
...

    def names(self) -> list[str]:
        """Return a copy of the list of current cache names."""
        return list(self.cache)

    def async_mark_unique_records_older_than_1s_to_expire(
    ^
------------------------------------------------------------
src/zeroconf/_cache.py:325:4: Signature not compatible with previous declaration

Error compiling Cython file:
------------------------------------------------------------
...

    @cython.locals(service_record=DNSService)
    cdef void _async_remove(self, DNSRecord record)

    @cython.locals(record=DNSRecord, created_double=double)
    cpdef void async_mark_unique_records_older_than_1s_to_expire(self, cython.set unique_types, object answers, double now)
                                                                ^
------------------------------------------------------------
src/zeroconf/_cache.pxd:80:64: Previous declaration is here

The full signature in the .py file is:

    def async_mark_unique_records_older_than_1s_to_expire(
        self,
        unique_types: set[tuple[_str, _int, _int]],
        answers: Iterable[DNSRecord],
        now: _float,
    ) -> None:

I'm not sure what cython needs to fix this.

Activity

  1. bdraco commented on Aug 26, 2026

    @bdraco
    bdraco
    on Aug 26, 2026
    Member
    More actions

    I have ~25 projects that need changes for this release. I'll get a new one out in the next week or so to support it

    Reacted by Thomas Klausner
  2. bdraco commented on Aug 26, 2026

    @bdraco
    bdraco
    on Aug 26, 2026
    Member
    More actions

    #1820 should fix it but github is having an outage with actions right now so its not running

    https://www.githubstatus.com/incidents/y1t7p9fzrlj2

  3. bdraco commented on Aug 26, 2026

    @bdraco
    bdraco
    on Aug 26, 2026
    Member
    More actions

    #1820 will fix it but still can't merge it because PSR is broken because of the git-python breaking changes that were released in the last few days so we need to wait for that to be fixed upstream before we can do a release

  4. 0-wiz-0 commented on Aug 27, 2026

    @0-wiz-0
    0-wiz-0
    on Aug 27, 2026
    Author
    More actions

    Thank you! I can confirm that #1820 fixes the problem for me - I've added the patch to pkgsrc.

  5. bdraco commented on Aug 27, 2026

    @bdraco
    bdraco
    on Aug 27, 2026
    Member
    More actions

    Looks like we should be able to release tomorrow python-semantic-release/python-semantic-release#1477 (comment)

  6. bdraco
    closed this as completedin #1820on Aug 28, 2026
  7. 0-wiz-0 commented on Aug 28, 2026

    @0-wiz-0
    0-wiz-0
    on Aug 28, 2026
    Author
    More actions

    Thanks for fixing this so quickly!

    Reacted by J. Nick Koston
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.