Skip to content

Python 3.12 works #583

@sorenwacker

Description

@sorenwacker

Hi ISA-tools team,

I've been working on a fork that adds Python 3.9-3.12 compatibility to isa-api. The changes include:

  • Updated dependencies for Python 3.9-3.12 support
  • Fixed pandas deprecation warnings (.replace() → .map(), added .infer_objects())
  • Fixed SQLAlchemy 2.0 compatibility in database models
  • Updated GitHub Actions CI workflow
  • Added flake8 configuration for SQLAlchemy forward references

The fork is available at: https://github.com/sorenwacker/isa-api/tree/python-3.12

All tests pass on Python 3.9-3.12. If you're interested in merging these changes upstream, I'm happy to create a PR. Otherwise, feel free to use this as a reference if/when you decide to update Python version support.

Disclaimer: These changes were made with assistance from Claude Code (Anthropic's AI coding assistant).

Best regards
Soren

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