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

PR: Remove Python 2 support (part I) #20366

Merged
merged 4 commits into from
Jan 22, 2023
Merged

Conversation

oscargus
Copy link
Contributor

Description of Changes

Removing Python 2 support. I may continue with removing py3compat.py completely, but will come back to that.

Replaces #17173 (will really try to follow this through this time...)

  • Wrote at least one-line docstrings (for any new functions)
  • Added unit test(s) covering the changes (if testable)
  • Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:
oscargus/Oscar Gustafsson

@ccordoba12 ccordoba12 changed the title Remove Python 2 support PR: Remove Python 2 support Jan 13, 2023
@ccordoba12 ccordoba12 added this to the v5.4.3 milestone Jan 13, 2023
@ccordoba12
Copy link
Member

Thanks a lot @oscargus for your help with this! It looks pretty good to me, so we'll try to merge it as soon as we release 5.4.2 so that it doesn't get outdated.

I may continue with removing py3compat.py completely, but will come back to that.

Let's leave that for another PR so we can have this one in quickly.

@ccordoba12
Copy link
Member

ccordoba12 commented Jan 22, 2023

@oscargus, I'm going to fix the small merge conflict that showed up here and merge your PR so it doesn't get outdated, like last time.

@ccordoba12 ccordoba12 changed the title PR: Remove Python 2 support PR: Remove Python 2 support (part I) Jan 22, 2023
- Restore missing import and remove unnecessary code.
- Forcibly change line endings of a QDarkstyle file after trying to
update its subrepo.
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks a lot @oscargus for your help with this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants