patzilla icon indicating copy to clipboard operation
patzilla copied to clipboard

Migrate to Python3

Open papoteur-mga opened this issue 2 years ago • 2 comments

For the migration, I started from the last state of the main branch, then applied the patches from the python3 branch. Thus the last commits from the branch peds are not used,

papoteur-mga avatar Mar 28 '23 09:03 papoteur-mga

Can you also update the CI/GHA configuration? From what I can see, adjusting those spots may be enough. Let's start with the Python version you are using on your workstation, and expand the test matrix later. You are currently using Python 3.8, right?

https://github.com/ip-tools/patzilla/blob/72d80e72d0e9871c37dd8948a7ea47bd078ee5b7/.github/workflows/tests.yaml#L29 https://github.com/ip-tools/patzilla/blob/72d80e72d0e9871c37dd8948a7ea47bd078ee5b7/.github/workflows/tests.yaml#L106

amotl avatar Mar 28 '23 10:03 amotl

Codecov Report

Patch coverage: 33.25% and project coverage change: -7.47 :warning:

Comparison is base (0933634) 51.75% compared to head (c7af549) 44.28%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
- Coverage   51.75%   44.28%   -7.47%     
==========================================
  Files         100      100              
  Lines        7770     7878     +108     
==========================================
- Hits         4021     3489     -532     
- Misses       3749     4389     +640     
Flag Coverage Δ
unittests 44.28% <33.25%> (-7.47%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
patzilla/access/epo/espacenet/pyramid.py 32.25% <ø> (ø)
patzilla/access/epo/ops/api.py 11.44% <0.00%> (-58.32%) :arrow_down:
patzilla/access/epo/publicationserver/client.py 37.03% <0.00%> (+2.42%) :arrow_up:
patzilla/access/generic/exceptions.py 42.85% <0.00%> (-13.25%) :arrow_down:
patzilla/access/ificlaims/api.py 16.35% <0.00%> (+0.52%) :arrow_up:
patzilla/access/office.py 15.21% <0.00%> (+1.88%) :arrow_up:
patzilla/access/uspto/pdf.py 30.76% <0.00%> (+0.76%) :arrow_up:
patzilla/navigator/services/__init__.py 46.66% <0.00%> (ø)
patzilla/navigator/services/admin.py 24.19% <0.00%> (+2.52%) :arrow_up:
patzilla/navigator/services/dpma.py 27.27% <0.00%> (+4.10%) :arrow_up:
... and 57 more

... and 11 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov-commenter avatar Mar 29 '23 01:03 codecov-commenter