GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DNM before 2021-09-05: Remove support for Python 3.5 by bertwesarg · Pull Request #1201 · gitpython-developers/GitPython

Conversation

@bertwesarg

@bertwesarg bertwesarg commented Mar 13, 2021

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bertwesarg
Remove support for Python 3.5
45d1cd5
@bertwesarg
bertwesarg force-pushed the remove-py35 branch from 74fe2b8 to 45d1cd5 Compare March 13, 2021 19:34
@Byron

Byron commented Mar 13, 2021

Copy link
Copy Markdown
Member

Thanks so much! I will merge this one in half a year from now 😁.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ssbarnea

ssbarnea commented Apr 15, 2021

Copy link
Copy Markdown

Why waiting so long for removal of py35? One extra year after py35 already hit EOL seems too much for me.

PS. I say this only because I know the py36 opens the door of static typing, which highly appreciated on any library.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Byron

Byron commented Apr 16, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Thanks for sharing the value provided by dropping python 3.5 earlier.

Some types have already been added and for that python 3.4 support was dropped I believe, I assume python 3.6 provides even better ways of inline typing?

In any case, I would be happy to accept a PR which drops python 3.5 support while adding more types in a way that require python 3.6 and thus makes good use of the value added by dropping support earlier.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Byron Byron mentioned this pull request Apr 21, 2021
Python 3.5 failing with AttributeError: module 'os' has no attribute 'PathLike' #1219
Closed
@Byron Byron mentioned this pull request Jun 15, 2021
Typing-related Exception in Python 3.5 #1270
Closed
@Yobmod

Yobmod commented Jun 15, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Just to add (prompted by #1270):
I have been adding comments where typing is impacted by 3.5 support. Searching for "3.5 dropped" gives 9 such comments so far.
Plus the version guard used for os.PathLike (which is just a string in 3.5).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Byron

Byron commented Jun 15, 2021

Copy link
Copy Markdown
Member

@Yobmod Does that mean this PR needs additional work? Otherwise I would be merging it early, yank the current version on pypi once more and drop python 3.5 support with the next.
Thank you

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Yobmod

Yobmod commented Jun 15, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

I dont think any reason to delay this PR or a release.

Once this is merged I'll submit a separate PR with the typing improvements it makes possible.

They won't change much but will cleanup some cast() and type ignores, so can be put in a subsequent release if I don't get to it tonight.

ssbarnea reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bertwesarg
bertwesarg marked this pull request as ready for review June 15, 2021 12:55
@bristea

bristea commented Jun 15, 2021

Copy link
Copy Markdown

Delaying removal of py35 support would do more damage than good to project mainly due to extra maintenance involved.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Byron
Byron merged commit cefc0df into gitpython-developers:main Jun 16, 2021
@Byron Byron added this to the v3.1.18 - Bugfixes milestone Jun 16, 2021
Byron added a commit that referenced this pull request Jun 16, 2021
@Byron
Revert "Remove support for Python 3.5" - fix CI for now.
820d3cc
This reverts commit 45d1cd5.

See #1201 which will hopefully help to get a proper fix soon.
@Byron

Byron commented Jun 16, 2021

Copy link
Copy Markdown
Member

@Yobmod and @bertwesarg Interestingly now that this branch is merged it fails on CI with failures I can't really fix without spending more time than I have. Maybe it's easy for you to fix due to your experience and I am looking forward to a PR.

In the mean time, I will undo the merge to get main fixed right away. 820d3cc would be the one to revert and take a look at.
Thanks so much!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Byron

Byron commented Jun 16, 2021

Copy link
Copy Markdown
Member

I reverted the revert…effectively re-adding the removal of python 3.5 as main fails generally now, independently of this commit.
It appears that CI is pulling a more recent version of mypi which now fails where the previous version didn't. Breaking changes seem to be the norm here and we might see this kind of failure more often in the future.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Milestone

v3.1.18 - Bugfixes

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@bertwesarg @Byron @ssbarnea @Yobmod @bristea
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.