pycon.tw icon indicating copy to clipboard operation
pycon.tw copied to clipboard

deps: upgrade python to 3.10 and remove unused dependencies

Open mattwang44 opened this issue 10 months ago • 3 comments

Types of changes

resolve #1028

Upgrade Python and organize packages

Description

The currently-used Python version (3.6) is already EOL, which also causes GitHub dependabot to stop working on this repo.

  • Major: Upgrade python version to 3.10.14
    • update the version definitions
    • upgrade the packages that are incompatible with python 3.10
  • Minor: remove unused packages

mattwang44 avatar Apr 08 '24 06:04 mattwang44

赫然發現目前用的 Django 3.1 沒有支援 python 3.10,雖然我測試上沒遇到什麼問題,但麻煩請等後續升版 PR 都處理好之後再 deploy 到 staging

mattwang44 avatar Apr 09 '24 07:04 mattwang44

看起來是因為 2021 年底 django 3.1 EOL 了

josix avatar Apr 09 '24 08:04 josix

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.00%. Comparing base (d680271) to head (e4af425). Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1171      +/-   ##
==========================================
+ Coverage   70.57%   71.00%   +0.42%     
==========================================
  Files          85       85              
  Lines        3392     3445      +53     
==========================================
+ Hits         2394     2446      +52     
- Misses        998      999       +1     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Apr 09 '24 13:04 codecov[bot]

LGTM!

SivanYeh avatar Apr 13 '24 06:04 SivanYeh