Skip to content

dep: upgrade gevent to 24.11.1#114

Merged
bpiwowar merged 1 commit into
masterfrom
dep/upg-gevent-24.11.1
May 23, 2025
Merged

dep: upgrade gevent to 24.11.1#114
bpiwowar merged 1 commit into
masterfrom
dep/upg-gevent-24.11.1

Conversation

@teo-lohrer-su
Copy link
Copy Markdown
Collaborator

gevent = "^23.9" did not allow installation on macOS / Python 3.13.3 due to failed recythonizing.

Collecting gevent<24.0,>=23.9 (from experimaestro==1.8.0rc6+2)
  Using cached gevent-23.9.1.tar.gz (5.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [57 lines of output]
      Compiling src/gevent/resolver/cares.pyx because it changed.
      [1/1] Cythonizing src/gevent/resolver/cares.pyx
      performance hint: src/gevent/libev/corecext.pyx:1357:0: Exception check on '_syserr_cb' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare '_syserr_cb' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on '_syserr_cb' to allow an error code to be returned.

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
      cdef tuple integer_types

      if sys.version_info[0] >= 3:
          integer_types = int,
      else:
          integer_types = (int, long)
                                ^
      ------------------------------------------------------------

      src/gevent/libev/corecext.pyx:69:26: undeclared name not builtin: long
      
      ...
      ```
      
      After upgrading, works as intended.
      
      The same Python versions are targeted in the upgraded `gevent` version.
      

@teo-lohrer-su teo-lohrer-su requested a review from bpiwowar May 23, 2025 08:17
@bpiwowar bpiwowar merged commit 4ea7696 into master May 23, 2025
3 checks passed
@teo-lohrer-su teo-lohrer-su deleted the dep/upg-gevent-24.11.1 branch May 28, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants