uktrade / public-data-api

The source for the Department for International Trade's Public Data API
https://data.api.trade.gov.uk/
MIT License
5 stars 0 forks source link

build(deps): move to Python 3.11 #207

Closed michalc closed 2 months ago

michalc commented 2 months ago

In preparation to moving to DBT platform, upgarding dependencies. And in this case, moving Python from 3.9 to 3.11.

Opting, for now, to not move to 3.12 to avoid having the latest and greatest to minimise risk of bugs.

The upgrade of pylint and astroid is to avoid the error

ImportError: cannot import name 'formatargspec' from 'inspect' (/home/circleci/.pyenv/versions/3.11.9/lib/python3.11/inspect.py)

when running pylint. And the pylint configuration changes, and small code changes are as a consequence of the new version of pylint having slightly different default rules