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

Drop support for Python 3.7 and Pyspark 2.x and remove vendored dependency on six #80

Merged
merged 3 commits into from
Jul 16, 2024

Conversation

fpgmaas
Copy link
Collaborator

@fpgmaas fpgmaas commented Oct 18, 2023

This PR:

  • Removes the dependency on six.
  • Drops support for Python 3.7, since it is now EOL for over a year.
  • Updates some development dependencies related to pytest, so the unit tests can be run on newer versions of Python as well.
  • Adds the .python_version to .gitgnore.

For removing the dependency on six, I simply replaced six.moves.zip_longest with itertools.zip_longest as suggested by @MrPowers. I however did not test if this changes existing functionality, I assume that is already covered by the unit tests? Those ran uccessfully.

See also #78

@fpgmaas fpgmaas changed the title Fix/six and update Remove dependency on six and remove support for Python 3.7 Oct 18, 2023
@fpgmaas fpgmaas changed the title Remove dependency on six and remove support for Python 3.7 Remove vendored dependency on six and remove support for Python 3.7 Oct 18, 2023
@fpgmaas fpgmaas closed this Jul 14, 2024
@fpgmaas fpgmaas reopened this Jul 14, 2024
…dendencies

update pytest describe

add flexible terminal string formatter

start swapping in default formats

start phasing out underline_cells

wip

wip

demonstrate how custom formatting can be injected via pytest fixtures

wip

make sure format_string works with no formats

add new custom formatter to readme

bump to v0.10.0

New Chispa interface (MrPowers#94)

* add formats to dataframe comparer

* add new chispa interface

lock

run tests for multiple python versions

small fix

add runs-on argument

fix

reset ci
@fpgmaas
Copy link
Collaborator Author

fpgmaas commented Jul 14, 2024

@MrPowers I think this one is ready for review; is it time to drop support for Python 3.7 and pyspark 2.x? If not I can reset that part and we'll leave that for another PR. I realize that this PR can be considered to do a bit too much, so no problem if you prefer to split that up.

@fpgmaas fpgmaas changed the title Remove vendored dependency on six and remove support for Python 3.7 Remove vendored dependency on six and remove support for Python 3.7 and Pyspark 2.x Jul 14, 2024
@fpgmaas fpgmaas changed the title Remove vendored dependency on six and remove support for Python 3.7 and Pyspark 2.x Drop support for Python 3.7 and Pyspark 2.x and remove vendored dependency on six Jul 14, 2024
@fpgmaas
Copy link
Collaborator Author

fpgmaas commented Jul 16, 2024

@SemyonSinchenko Do you have time to review this one by any chance? I based a few other PR's on top of this one. (#81 and #106), so if this is merged I can rebase those.

@SemyonSinchenko
Copy link
Collaborator

@fpgmaas I can, of course, but I do not have write access here.
@MrPowers

Copy link
Collaborator

@SemyonSinchenko SemyonSinchenko left a comment

Choose a reason for hiding this comment

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

LGTM

@fpgmaas fpgmaas merged commit 2e2d3cc into MrPowers:main Jul 16, 2024
@fpgmaas fpgmaas deleted the fix/six-and-update branch July 16, 2024 17:57
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.

2 participants