Skip to content

drop support for python 3.8 #349

Closed
Closed

Description

@baywet

Python 3.8 has fallen out of support 2 days ago, which means it's not getting anymore security updates.
This also has consequences for dependency management since an increasing number of dependencies have moved away from it, and we're not able to get the new versions anymore.
Consider making this change at the same time as #341, and after #302 has been implemented.

TODO:

IMPORTANT: this is a source breaking change for 3.8 users (they'll need to upgrade to a newer version of python), make sure to include a bang in your message commit (e.g. feat!:) so a major version bump is made.

We do not need to major bump kiota itself since the generator will emit for the same API surface and we're within our support policy.

After the PR for this is merged but BEFORE the changes are released we also need to go back to any closed (not merged) dependabot PR and ask the bot to recreate the pull requests (@dependabot recreate) so we upgrade to the latest version of the dependencies.

Activity

  1. moved this to Needs Triage 🔍 in Kiotaon Oct 9, 2024
  2. moved this from Needs Triage 🔍 to Todo 📃 in Kiotaon Oct 9, 2024
  3. moved this from Todo 📃 to Blocked 🔒 in Kiotaon Oct 9, 2024
  4. baywet commented on Dec 4, 2024

    @baywet
    MemberAuthor
  5. baywet commented on Dec 5, 2024

    @baywet
    MemberAuthor

    Looking at the Azure SDK guidelines, they are just providing a (outdated?) target version. No upgrade guidance. I have asked a question in the internal channels to see if any Python architect tells us following what the ecosystem is doing here is a bad idea for some reason.

  6. Ndiritu commented on Dec 12, 2024

    @Ndiritu
    Contributor

    We could also consider dropping the deprecated type hint aliases in favor of the recommended types for Python 3.9+

  7. baywet commented on Dec 12, 2024

    @baywet
    MemberAuthor

    I did get a first reply, Azure does drop support 6 months after the python version EOL, see their calendar

    Looking at azure identity they dropped support for 3.7 without a major bump. And their guidelines indicate they do follow semver

    I think that with all the evidence we've collected, it'd be ok to remove support for 3.8 in a minor bump. What do you think Andrew Omondi (@andrueastman) Philip Gichuhi (@Ndiritu) ? If we're in agreement, we can probably proceed with the work.

    In addition to the type hint improvement, we should also look at all the ignored dependabot PRs and make sure we update all dependencies before release the version that drops support for 3.8

  8. andrueastman commented on Jan 2, 2025

    @andrueastman
    Contributor

    I think that with all the evidence we've collected, it'd be ok to remove support for 3.8 in a minor bump. What do you think Andrew Omondi (@andrueastman) Philip Gichuhi (@Ndiritu) ? If we're in agreement, we can probably proceed with the work.

    Agree. We can drop the version with a minor bump given the evidence collected.

  9. moved this from Blocked 🔒 to New📃 in Kiotaon Jan 6, 2025
  10. baywet commented on Jan 6, 2025

    @baywet
    MemberAuthor

    We should now expedite this, dependabot (and most likely the associated security features) is dropping 3.8 support in less than a month
    https://github.blog/changelog/2025-01-06-closing-down-notice-dependabot-will-no-longer-support-python-version-3-8

  11. andrueastman commented on Jan 7, 2025

    @andrueastman
    Contributor

    Taking a look into this.

  12. moved this from New📃 to In Progress 🚧 in Kiotaon Jan 9, 2025
  13. andrueastman commented on Jan 9, 2025

    @andrueastman
    Contributor

    I believe #433 should be okay to review now.

    On investigating, it looks like we are also emitting the deprecated type hints in the generated code, so I've also authored a generator PR at microsoft/kiota#5974.

    My suggestion for review/release order here would be to

  14. moved this from In Progress 🚧 to Done ✔️ in Kiotaon Jan 10, 2025
  15. moved this from Done ✔️ to In Progress 🚧 in Kiotaon Jan 13, 2025
  16. moved this from In Progress 🚧 to Done ✔️ in Kiotaon Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

WIPenhancementNew feature or requesttype:enhancementEnhancement request targeting an existing experience

Type

Projects

  • Status
    Done ✔️

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions