-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Remove py27 CI jobs #24942
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 CI jobs #24942
Changes from 26 commits
7966035
b224cd6
aac2192
b88b87d
fdc0035
5de5d5f
dcccd6e
5588fbd
a01f50e
19ff3a5
835679e
7827b71
8d390df
e41689f
0c50978
8292752
4d5c3c8
e641585
b32f434
eae4308
7e3c14e
e9f7619
6fdfe91
3052e35
eba9941
12ccef3
a24f21d
59857dc
6628284
6940171
c600ca3
ee045e9
9c94cb6
52e40eb
150e459
523a73f
5403c2b
cff7893
23641af
a655272
916c2cf
253ed59
c172aec
09e2f10
8feb448
31dec98
e3ec04e
5cdecf8
b1e0025
a7c9a18
aedcdf8
93c6be4
d63830a
979341a
d3a50e0
f7492d4
2632664
c159cfa
fe83f86
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,33 @@ Other Enhancements | |
Backwards incompatible API changes | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- :meth:`Timestamp.strptime` will now rise a NotImplementedError (:issue:`21257`) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed a typo here ("rise" -> "raise"), which is why the diff shifts it down There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @h-vetinari - thanks. I will correct it independent of this. |
||
- :meth:`Timestamp.strptime` will now raise a NotImplementedError (:issue:`25016`) | ||
|
||
.. _whatsnew_0250.api_breaking.deps: | ||
|
||
Dependencies have increased minimum versions | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
Due to dropping support for Python 2.7, a number of optional dependencies have updated | ||
minimum versions. If installed, we now require: | ||
|
||
+-----------------+-----------------+----------+ | ||
| Package | Minimum Version | Required | | ||
+=================+=================+==========+ | ||
| beautifulsoup4 | 4.4.1 | | | ||
+-----------------+-----------------+----------+ | ||
| openpyxl | 2.2.6 | | | ||
jreback marked this conversation as resolved.
Show resolved
Hide resolved
|
||
+-----------------+-----------------+----------+ | ||
| pymysql | 0.6.6 | | | ||
+-----------------+-----------------+----------+ | ||
| pytz | 2015.4 | | | ||
+-----------------+-----------------+----------+ | ||
| sqlalchemy | 1.0.8 | | | ||
+-----------------+-----------------+----------+ | ||
| xlsxwriter | 0.7.7 | | | ||
+-----------------+-----------------+----------+ | ||
| xlwt | 1.0.0 | | | ||
+-----------------+-----------------+----------+ | ||
|
||
.. _whatsnew_0250.api.other: | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
from numpy import nan | ||
import pytest | ||
|
||
from pandas.compat import PY36, BytesIO, iteritems, map, range, u | ||
from pandas.compat import PY35, PY36, BytesIO, iteritems, map, range, u | ||
import pandas.util._test_decorators as td | ||
|
||
import pandas as pd | ||
|
@@ -2182,6 +2182,8 @@ def test_write_cells_merge_styled(self, merge_cells, ext, engine): | |
assert xcell_b1.font == openpyxl_sty_merged | ||
assert xcell_a2.font == openpyxl_sty_merged | ||
|
||
@pytest.mark.xfail(PY35 and not PY36, reason='only fails on Linux?', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is this changing? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because I wasn't able to make this test work on PY35 regardless of the versions I tried. |
||
strict=False) | ||
@pytest.mark.parametrize("mode,expected", [ | ||
('w', ['baz']), ('a', ['foo', 'bar', 'baz'])]) | ||
def test_write_append_mode(self, merge_cells, ext, engine, mode, expected): | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,14 @@ | |
# and then run "tox" from this directory. | ||
|
||
[tox] | ||
envlist = py27, py35, py36 | ||
envlist = py35, py36, py37 | ||
|
||
[testenv] | ||
deps = | ||
cython | ||
nose | ||
pytest | ||
pytz>=2011k | ||
pytz>=2015.4 | ||
python-dateutil | ||
beautifulsoup4 | ||
lxml | ||
|
@@ -43,40 +43,12 @@ commands = | |
# tox should provide a preinstall-commands hook. | ||
pip uninstall pandas -qy | ||
|
||
[testenv:py27] | ||
deps = | ||
numpy==1.8.1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This has been in an unrunnable state since a looooong time (more than 2 years, #15206) |
||
boto | ||
bigquery | ||
{[testenv]deps} | ||
|
||
[testenv:py35] | ||
deps = | ||
numpy==1.10.0 | ||
numpy==1.12.0 | ||
{[testenv]deps} | ||
|
||
[testenv:py36] | ||
deps = | ||
numpy | ||
{[testenv]deps} | ||
|
||
[testenv:openpyxl1] | ||
usedevelop = True | ||
deps = | ||
{[testenv]deps} | ||
openpyxl<2.0.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same for this one. |
||
commands = {envbindir}/pytest {toxinidir}/pandas/io/tests/test_excel.py | ||
|
||
[testenv:openpyxl20] | ||
usedevelop = True | ||
deps = | ||
{[testenv]deps} | ||
openpyxl<2.2.0 | ||
commands = {envbindir}/pytest {posargs} {toxinidir}/pandas/io/tests/test_excel.py | ||
|
||
[testenv:openpyxl22] | ||
usedevelop = True | ||
deps = | ||
{[testenv]deps} | ||
openpyxl>=2.2.0 | ||
commands = {envbindir}/pytest {posargs} {toxinidir}/pandas/io/tests/test_excel.py |
Uh oh!
There was an error while loading. Please reload this page.