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 — Time for a 2.4 release? · Issue #276 · GeospatialPython/pyshp

Time for a 2.4 release? #276

New issue
Copy link
New issue
Copy link
Closed
Closed
Time for a 2.4 release?#276
Copy link
Labels
enhancement

Description

@schwehr
schwehr
opened on Aug 24, 2024
Issue body actions

Describe the feature request

With #275, pyshp no longer supports end-of-life python versions. That probably warrants a 2.4 release. It doesn't change the API, so going to 3.0 is probably not needed.

Contributions

  • I am interested in implementing the described feature request and submit as a PR.

Activity

  1. schwehr
    added
    enhancement
    on Aug 24, 2024
  2. schwehr commented on Sep 1, 2024

    @schwehr
    schwehr
    on Sep 1, 2024
    ContributorAuthor
    More actions

    From email discussions:

    Maybe something like this. By making a branch with continued python 2 support, the project could probably avoid a wait period.

    1. Do version independent cleanup
    2. Drop support for python 3.5 and 3.6. They are hard to support today
    3. Release 2.4 with notice that the upcoming 3.x releases will not have python 2 support.
    4. Make a pyshp 2 branch. If users want continued python 2 support, they can do pull requests on this
    5. On the main branch, remove support for python 2
    6. Release pyshp 3.0
    7. Drop support for python 3.7
    8. 2024-10 drop support for python 3.8
    9. 2025-10 drop support for python 3.9
    10. 2026-10 drop support for python 3.10
    11. etc. following https://devguide.python.org/versions/

    If anyone needs support for older python versions, then make a branch at the last release of pyshp with that version and let work on that branch progress as needed. So if changes need to happen for python 2 in the future, work on the pyshp 2 branch and do a 2.4.1 or 2.5 release etc.

  3. JamesParrott commented on Sep 8, 2024

    @JamesParrott
    JamesParrott
    on Sep 8, 2024
    Collaborator
    More actions

    Following those same email discussions, and on reflection, I've changed my mind and now support dropping Python <=3.7 for the following reasons:

    i) to encourage new contributors who may only be familiar with modern Pythons, for the long term health of PyShp.
    ii) older pips will still install Python 2 compatible versions from PyPi until they're yanked (this only ceases development on
    Python 2 and <= 3.7 compatible PyShp versions. It doesn't break them).
    iii) Emphasise to PyShp users (especially those processing arbitrary shapefiles), that security fixes for unsupported Python versions are not guaranteed. The standard advice to PyShp users for whom security is important, is to upgrade.

    Python 3.8's end of life is three weeks tomorrow. So if this is accepted, by the time this hits the main PyShp branch, Python 3.8 could be dropped too by the same reasoning, so work might as well focus on Python >= 3.9.

    I'll allow a month or two to gather objections, both from users and my co-maintainers. In the meantime, I invite anyone else who wants to work on Python 3 only code, to submit PRs targeting the 3.0 branch:

    https://github.com/GeospatialPython/pyshp/tree/3.0-dev-drop-Pythons-below-3.9

  4. JamesParrott commented on Sep 14, 2024

    @JamesParrott
    JamesParrott
    on Sep 14, 2024
    Collaborator
    More actions

    I've started a discussion on dropping older Python versions, and will reach out to PyShp's contributors, inviting them to comment.

  5. JamesParrott
    closed this as completedon Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      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.