DostEducation / RP_IVR_analytics

This is a cloud function based webhook processing service that is being using to get webhook calls from RapidPro to capture different analytical data point.
GNU Affero General Public License v3.0
4 stars 1 forks source link

[FEATURE] Upgrade Python Version to Version 3.12 #458

Closed Sachinbisht27 closed 4 months ago

Sachinbisht27 commented 6 months ago

Is your feature request related to a problem? Please describe. We are upgrading our application with the latest versions of the packages and dependencies. To do the same we need to upgrade the Python package from Python 3.8 to Python 3.12. Flask 3.0.0 is compatible with Python 3.8 and above, so we can pick it up once the Flask upgrade is done.

Describe the solution you'd like

Describe alternatives you've considered NA

Additional context NA

Acceptance Criteria

Documentation Add whatever documentation will be required here.

vivek-kumar-pandey commented 5 months ago

There are some packages which are not compatible with the Python 3.12 version.

This error suggests that the requests is incompatible with the google auth. However, on a different Python version, it is working correctly. Looking further we found that the latest version of Requests i.e. 2.31.0 is even only compatible till Python version 3.11: image

So we are upgrading the python version to 3.11

Sachinbisht27 commented 4 months ago

Closing as completed now and released on production