Skip to content

Python 3.10 disallows float to int implicit conversions #136

@JarrettSJohnson

Description

@JarrettSJohnson

Seems like python 3.10 disallows these types of conversions. We've run into these issues with Qt-based plugins we ship with PyMOL (e.g. Lighting Settings) after updating to 3.10. I haven't tested yet with the scripts here yet though, but I wouldn't be surprised if many of them here started to stop working for the same reason.

Example from another plugin's issue tracker:
vanderkamp/enlighten2-pymol#1

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