c-w / gutenberg

A simple interface to the Project Gutenberg corpus.
Apache License 2.0
320 stars 60 forks source link

Drop support for EOL Python 2.7 and 3.6 #145

Closed hugovk closed 2 years ago

hugovk commented 2 years ago

Fixes the first bullet point of https://github.com/c-w/gutenberg/issues/144 by dropping EOL Python 2.7.

Python 3.6 is now also EOL, so we can drop that too.

codecov-commenter commented 2 years ago

Codecov Report

Merging #145 (29f8b93) into master (df8fcfa) will decrease coverage by 0.13%. The diff coverage is 88.46%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #145      +/-   ##
==========================================
- Coverage   97.22%   97.08%   -0.14%     
==========================================
  Files          28       27       -1     
  Lines        1080     1029      -51     
==========================================
- Hits         1050      999      -51     
  Misses         30       30              
Impacted Files Coverage Δ
gutenberg/_domain_model/exceptions.py 100.00% <ø> (ø)
gutenberg/_domain_model/persistence.py 100.00% <ø> (ø)
gutenberg/_domain_model/text.py 100.00% <ø> (ø)
gutenberg/_domain_model/types.py 100.00% <ø> (ø)
gutenberg/_domain_model/vocabulary.py 100.00% <ø> (ø)
gutenberg/_util/logging.py 100.00% <ø> (ø)
gutenberg/_util/os.py 93.75% <0.00%> (-0.37%) :arrow_down:
gutenberg/cleanup/strip_headers.py 100.00% <ø> (ø)
tests/test_domain_model.py 100.00% <ø> (ø)
tests/test_query.py 100.00% <ø> (ø)
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update df8fcfa...29f8b93. Read the comment docs.