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 — PIP-155: Drop support for Python2 · Issue #15185 · apache/pulsar

PIP-155: Drop support for Python2 #15185

New issue
Copy link
New issue
Copy link
Closed
Closed
PIP-155: Drop support for Python2#15185
Copy link
Labels
lifecycle/staletype/PIP
Milestone
3.0.0

Description

@merlimat
merlimat
opened on Apr 15, 2022
Issue body actions

Motivation

Python 2.x has been deprecated for many years now and it was officially end-of-lifed 2.5 years ago (https://www.python.org/doc/sunset-python-2/).

We have well reached the point by which we need to drop Python 2.7 compatibility for Pulsar client and for Pulsar functions.

Based on Python end-of-life policies, there are 4 versions of Python that are currently supported: 3.7, 3.8, 3.9 and 3.10. https://endoflife.date/python

That gives a 5 years support schedule from release to EoL.

Goal

Support only the last 4 Python releases Pulsar client and for Pulsar functions, currently 3.7, 3.8, 3.9 and 3.10. Once 3.7 reaches end-of-life, it will be dropped by Pulsar too.

This policy will be also applied to the Pulsar patch releases which will stop providing Python wheel files for the deprecated versions.

API Changes

No changes at this time, though Pulsar Python client library will be now free to use Python3 specific syntaxes and libraries.

Changes

  1. Switch the CI build to run Python client lib tests with Python3
  2. Switch integration tests to use Python3
  3. Stop building and distributing wheel files for Python 2.7
Reacted by Michael Marshall and Hugo van Kemenade

Activity

  1. merlimat
    added
    type/PIP
    on Apr 15, 2022
  2. merlimat
    added this to the 2.11.0 milestone on Apr 15, 2022
  3. zbentley commented on Apr 15, 2022

    @zbentley
    zbentley
    on Apr 15, 2022
    Contributor
    More actions

    Thoughts on minimum py3 version? 3.6+ and 3.7+ are common choices in the python ecosystem.

  4. merlimat commented on Apr 15, 2022

    @merlimat
    merlimat
    on Apr 15, 2022
    ContributorAuthor
    More actions

    Do you know where to find a list of feature/syntax that were changed in 3.6 or 3.7?
    As in: what could we be free to use if we didn't have to support Py 3.5 and 3.6?

  5. zbentley commented on Apr 15, 2022

    @zbentley
    zbentley
    on Apr 15, 2022
    Contributor
    More actions

    Most details are here: https://docs.python.org/3/whatsnew/index.html

  6. merlimat commented on Apr 16, 2022

    @merlimat
    merlimat
    on Apr 16, 2022
    ContributorAuthor
    More actions

    This is actually helpful: https://endoflife.date/python

    3.6 has already reached end of life and here will be no more security updates. It does indeed make sense for us to stop supporting it too.

  7. github-actions commented on May 21, 2022

    @github-actions
    github-actionsBot
    on May 21, 2022
    More actions

    The issue had no activity for 30 days, mark with Stale label.

  8. github-actions
    added
    lifecycle/stale
    on May 21, 2022
  9. github-actions commented on Jun 20, 2022

    @github-actions
    github-actionsBot
    on Jun 20, 2022
    More actions

    The issue had no activity for 30 days, mark with Stale label.

  10. codelipenghui
    modified the milestones: 2.11.0, 2.12.0 on Jul 26, 2022
  11. dimaqq commented on Sep 9, 2022

    @dimaqq
    dimaqq
    on Sep 9, 2022
    More actions

    Poke

  12. github-actions
    removed
    Stale
    on Sep 9, 2022
  13. tisonkun commented on Dec 7, 2022

    @tisonkun
    tisonkun
    on Dec 7, 2022
    Member
    More actions

    Closed as resolved. I don't find outstanding dependencies.

  14. tisonkun
    closed this as completedon Dec 7, 2022
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

    lifecycle/staletype/PIP

    Type

    No type

    Projects

    No projects

      Milestone

      • 3.0.0

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — 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.