Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pypy
pypy
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 594
    • Issues 594
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 10
    • Merge Requests 10
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

There will be about 1h of downtime on 2020-03-02 at 13:00 UTC+1 (change of servers and upgrade to Heptapod 0.20.0 final)

  • PyPy
  • pypypypy
  • Issues
  • #3346

Closed
Open
Opened Nov 17, 2020 by Kaleb Tuimala@ktuimala

libpypy3-c API missing PyStructSequence_NewType

Using the latest pypy 3.6-v7.3.3 or 3.7-v7.3.3 and the new mariadb-connector-python 1.0.4 (mariadb) builds but fails to import because it cannot find the symbol PyStructSequence_NewType. This is available in the standard python 3 C API and needs to be added to pypy.

After building and then testing by importing the mariadb package, this is the error I get. See attached.

error_example.txt

I was testing on a CentOS 7 dev box. Here are the steps I took to setup my environment and encounter this issue.

On a CentOS 7 system as root:

install_steps.txt

Once done stay in the /opt/pypy/bin directory and run pypy and import mariadb. The error as described will occur.

Edited Nov 17, 2020 by Kaleb Tuimala
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: pypy/pypy#3346