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

Pandas 2.1.0 does not support Python 3.8 #127

Closed
ajnelson-nist opened this issue Aug 25, 2023 · 5 comments · Fixed by #128
Closed

Pandas 2.1.0 does not support Python 3.8 #127

ajnelson-nist opened this issue Aug 25, 2023 · 5 comments · Fixed by #128
Milestone

Comments

@ajnelson-nist
Copy link
Member

ajnelson-nist commented Aug 25, 2023

https://pandas.pydata.org/pandas-docs/version/2.1.0rc0/whatsnew/v2.1.0.html#increased-minimum-version-for-python

Edited to add, 2023-08-28: case_sparql_select makes use of Pandas for table formatting code. Pandas dropping Python 3.8 thus means case-utils currently can't satisfy a dependency unless using Python 3.9 or later.

@ajnelson-nist
Copy link
Member Author

The resolutions are either:

  1. Bump case-utils' minimal Python version to 3.9.
  2. Pin pandas to be < 0.21.0.

@ajnelson-nist
Copy link
Member Author

For extra context, Python 3.8's end of support is October, 2024, per:
https://www.python.org/downloads/

@ajnelson-nist
Copy link
Member Author

For further context, the pandas Issue describing the minimal-version bump is here:
pandas-dev/pandas#52513

@ajnelson-nist
Copy link
Member Author

Another option, though I'm not sure syntactically how to accomplish this, is to consider pandas an optional requirement, tying it to a new feature that provides case_sparql_select. (pandas was brought in to add several tabular output forms to that script.) While I'm aware of how to make features with their own dependent packages, I'm a documentation dive away from knowing how to pin the minimal supported Python version for just one feature.

So, I still suggest we have a raise-Python-floor vs. lower-Pandas-ceiling decision.

ajnelson-nist added a commit to casework/casework.github.io that referenced this issue Aug 28, 2023
References:
* casework/CASE-Utilities-Python#127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist added a commit that referenced this issue Aug 28, 2023
Python 3.8 end of support is in October of 2024.  However, some projects
`case-utils` includes in its dependencies, most recently NumPy, are
ending their support for Python 3.8 ahead of this EOL.

This patch removes 3.8 from the test base, so updates for imported
packages continue to be retrieved retrieved.

References:
* #127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
@ajnelson-nist ajnelson-nist linked a pull request Aug 28, 2023 that will close this issue
@ajnelson-nist
Copy link
Member Author

Resolved with #128 .

ajnelson-nist added a commit to casework/CASE-Corpora that referenced this issue Aug 29, 2023
No effects were observed on Make-managed files.

References:
* casework/CASE-Utilities-Python#127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist added a commit to casework/CASE-Implementation-ExifTool that referenced this issue Aug 29, 2023
References:
* casework/CASE-Utilities-Python#127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist added a commit to casework/CASE-Implementation-PyPI-Pillow that referenced this issue Aug 29, 2023
References:
* casework/CASE-Utilities-Python#127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist added a commit to casework/CASE-Implementation-PyPI-Exifread that referenced this issue Aug 29, 2023
… Python 3.9

References:
* casework/CASE-Utilities-Python#127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist added a commit to casework/CASE-Examples-Conversion that referenced this issue Aug 29, 2023
References:
* casework/CASE-Utilities-Python#127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist added a commit to casework/CASE-Mapping-Template-Python that referenced this issue Aug 29, 2023
References:
* casework/CASE-Utilities-Python#127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist added a commit to casework/CASE-Implementation-PROV-O that referenced this issue Aug 29, 2023
References:
* casework/CASE-Utilities-Python#127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist added a commit to casework/CASE-Implementation-GNU-Time that referenced this issue Aug 29, 2023
References:
* casework/CASE-Utilities-Python#127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
ajnelson-nist added a commit to ajnelson-nist/CASE-Examples-QC that referenced this issue Aug 30, 2023
References:
* casework/CASE-Utilities-Python#127

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
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 a pull request may close this issue.

1 participant