Skip to content

Notes for running with Python 3.11 #3

@williamcpierce

Description

@williamcpierce

I've been working to get this running with Python 3.11, mostly to check if EsiPy is still functional after recent ESI changes.

I'm creating this issue to leave some notes on what I ran into, to possibly fix with a PR later (if I get it fully working).

  1. PySwagger is incompatible with Python>=3.10 due to an issue with collections.MutableMapping. This small change will resolve that issue: https://github.com/fboerman/pyswagger/commit/52019f41678d3f91f7f8dfc06387e0afd328ae38
    as described here: https://github.com/Kyria/EsiPy/issues/64

  2. The database file, app.db, seems to be created in the top level project directory when running flask db upgrade. However, the Flask app is looking for the db in instance/app.db, leading to the following error:
    sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: user
    Moving the created app.db file to the instance directory fixes this.

  3. The login button image link is broken, and can be updated to: https://web.ccpgamescdn.com/eveonlineassets/developers/eve-sso-login-white-small.png

At this point, I'm able to successfully authenticate with the SSO and retrieve my wallet balance, but I get the below error. That's the correct wallet balance, so I'm stopping at this point for now.
esipy.exceptions.APIException: HTTP Error 200: b'2113860735.69'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions