lidatong / dataclasses-json

Easily serialize Data Classes to and from JSON
MIT License
1.34k stars 151 forks source link

Update Poetry version used for 3.7 test suite and change Requires-Python boundary #476

Closed george-zubrienko closed 10 months ago

george-zubrienko commented 10 months ago

Resolves #452

This PR removes 3.7 from the test suite, thus unlocking our releases since Poetry no longer supports 3.7. In addition, upper bound on minor is removed.

github-actions[bot] commented 10 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
dataclasses_json
   cfg.py51492%80, 84–86
   core.py2371096%38–41, 51, 64, 66, 81, 83, 169, 197
   mm.py2023085%33–36, 42–45, 53–56, 62–65, 88, 161–162, 167, 171, 175, 180, 184, 188, 196, 202, 207, 216, 221, 226, 235, 244–251
   stringcase.py25388%59, 76, 97
   undefined.py143299%24, 38
   utils.py1313673%12–25, 45–50, 61–65, 75, 100–101, 109–110, 125–133, 163, 182, 207
tests
   entities.py234399%22, 234, 240
   test_annotations.py814248%50–67, 78–102, 106–122
   test_api.py142497%88, 99, 139–140
   test_str_subclass.py22195%9
   test_union.py981090%87–94, 108–115
TOTAL250814594% 

Tests Skipped Failures Errors Time
294 3 :zzz: 0 :x: 0 :fire: 7.071s :stopwatch:
george-zubrienko commented 10 months ago

@lidatong need your help here to remove a required check on 3.7 :)

george-zubrienko commented 10 months ago

I'll see if I can simply skip the 3.7

george-zubrienko commented 10 months ago

@matt035343 I fixed this by changing the Poetry version used in 3.7 check, until we get 3.7 removed from required checks :) Please take a look!