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

DEPS: drop Python 3.7 and NumPy 1.17 from tests (#41678) #41989

Merged
merged 45 commits into from
Jul 4, 2021

Conversation

fangchenli
Copy link
Member

@fangchenli fangchenli commented Jun 13, 2021

closes #41678

Most of the new minimum support versions were released between Oct 14, 2019, Python 3.8's initial release date, and June/July 2020.

@simonjayhawkins
Copy link
Member

Thanks @fangchenli for getting this started. To close the issue, are you planning to update the release notes in this PR too?

@simonjayhawkins simonjayhawkins added Dependencies Required and optional dependencies Deprecate Functionality to remove in pandas Compat pandas objects compatability with Numpy or Python functions labels Jun 14, 2021
@fangchenli
Copy link
Member Author

fangchenli commented Jun 14, 2021

Thanks @fangchenli for getting this started. To close the issue, are you planning to update the release notes in this PR too?

I'll update the doc at last.

- jinja2=2.11
- numba=0.48.0
- numexpr=2.7.1
- numpy=1.18.5
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conda cannot resolve 1.18.3. so use 1.18.5 instead.

@MarcoGorelli
Copy link
Member

could update this to --py38-plus

- repo: https://github.com/asottile/pyupgrade
rev: v2.18.3
hooks:
- id: pyupgrade
args: [--py37-plus]

@simonjayhawkins
Copy link
Member

could update this to --py38-plus

I think maybe code changes should be a follow-on. This PR should probably just be the ci setup and docs.

@simonjayhawkins
Copy link
Member

update the release notes in this PR too?

I should have said install.rst too.

I think it would be easier for reviewers to see the significant changes, but I also appreciate that while getting things working is an additional burden, so add when ready.

@fangchenli fangchenli changed the title DEPS: drop Python 3.7 and NumPy 1.17 (#41678) DEPS: drop Python 3.7 and NumPy 1.17 from tests (#41678) Jun 15, 2021
@fangchenli fangchenli marked this pull request as ready for review June 15, 2021 15:43
@@ -38,7 +38,7 @@ jobs:
docker pull quay.io/pypa/manylinux2014_i686
docker run -v $(pwd):/pandas quay.io/pypa/manylinux2014_i686 \
/bin/bash -xc "cd pandas && \
/opt/python/cp37-cp37m/bin/python -m venv ~/virtualenvs/pandas-dev && \
/opt/python/cp38-cp38/bin/python -m venv ~/virtualenvs/pandas-dev && \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ABI change in Python 3.8, from cp3xm to cp3x.

@simonjayhawkins
Copy link
Member

once we do this, we won't be releasing from master until at least 26 December. Historically, we have had 6 monthly releases (except for 0.22, which was a special case for a api breaking change) so shouldn't be an issue. Are we ready for this?

@jreback
Copy link
Contributor

jreback commented Jul 2, 2021

once we do this, we won't be releasing from master until at least 26 December. Historically, we have had 6 monthly releases (except for 0.22, which was a special case for a api breaking change) so shouldn't be an issue. Are we ready for this?

yep this is fine this early. going to have a look.

[actions-38.yaml, "not slow and not network and not clipboard", "", "", "", "", ""],
[actions-38-slow.yaml, "slow", "", "", "", "", ""],
[actions-38-locale.yaml, "not slow and not network", "language-pack-zh-hans xsel", "zh_CN.utf8", "zh_CN.utf8", "", ""],
[actions-38-numpydev.yaml, "not slow and not network", "xsel", "", "", "deprecate", "-W error"],
[actions-39-slow.yaml, "slow", "", "", "", "", ""],
[actions-39-numpydev.yaml, "not slow and not network", "xsel", "", "", "deprecate", ""],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you retain the "-W error" in numpydev

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine to me, a couple of comments, ping on green

@@ -25,11 +25,10 @@ dependencies:
- flask
- nomkl
- numexpr
- numpy=1.17.*
- numpy=1.18
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this as 1.18.*?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe 1.18.* and 1.18 are equivalent. They both resolve to the latest 1.18 version.

ci/deps/azure-windows-39.yaml Outdated Show resolved Hide resolved
- openpyxl
- pyarrow=0.17.0
# - pyarrow
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great can you link the issue here

@jreback
Copy link
Contributor

jreback commented Jul 4, 2021

@fangchenli
Copy link
Member Author

@jreback jreback merged commit 83f2583 into pandas-dev:master Jul 4, 2021
@jreback
Copy link
Contributor

jreback commented Jul 4, 2021

thanks @fangchenli very nice!

@fangchenli fangchenli deleted the drop-py37 branch July 7, 2021 02:40
pyarrow>=0.17.0
python-snappy
pyqt5>=5.9.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fangchenli not needed with py3.7+?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions Dependencies Required and optional dependencies Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop support for Python 3.7
4 participants