Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove py27 py34 support #30

Merged
merged 8 commits into from
Nov 12, 2019
Merged

Remove py27 py34 support #30

merged 8 commits into from
Nov 12, 2019

Conversation

SethMMorton
Copy link
Owner

This is intended to close #21.

This includes all test runners (e.g. tox, Travis-CI, Appveyor), and
documentation. The timing tests for Python 2.7 are also removed.
This can be done in the setup.py itself.
All compatiblity code has been removed, and also the tests for builtin
replacements for those python versions have been removed.
The C code has had the #IFDEFs required for Python 2.7 and Pythonm 3.4
removed so that the flow of the code is much smoother to read.
Prior to Python 3.3, it was not possible to read a boolean from
PyArg_ParseTupleAndKeywords, so booleans were read as a PyObject. Now,
it is possible to directly convert to boolean type on read, so this is
now done where possible.
@SethMMorton SethMMorton force-pushed the remove-py27-py34-support branch from 6f1d4d5 to 9a55651 Compare November 12, 2019 01:22
@codecov
Copy link

codecov bot commented Nov 12, 2019

Codecov Report

Merging #30 into master will increase coverage by 0.57%.
The diff coverage is 97.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   90.45%   91.03%   +0.57%     
==========================================
  Files           6        6              
  Lines         859      825      -34     
  Branches      137      130       -7     
==========================================
- Hits          777      751      -26     
+ Misses         39       37       -2     
+ Partials       43       37       -6
Impacted Files Coverage Δ
src/parsing.c 96.58% <ø> (+1.86%) ⬆️
src/unicode_character.c 92.85% <100%> (-0.17%) ⬇️
src/numbers.c 91.42% <100%> (ø) ⬆️
src/fastnumbers.c 92.64% <100%> (+1.21%) ⬆️
src/strings.c 85.09% <85.71%> (-0.52%) ⬇️

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 585a6f5...9a55651. Read the comment docs.

@SethMMorton SethMMorton merged commit 7c9e3cb into master Nov 12, 2019
@SethMMorton SethMMorton deleted the remove-py27-py34-support branch November 12, 2019 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop support for Python 2.7 and Python 3.4
1 participant