Skip to content

Drop support for EOL Python #942

Closed
Closed

Description

@nealrichardson

Since #920, you can uv tool install and don't have to be in the same runtime env as your app code. So I don't think there is any reason why the CLI code needs to be able to run in EOL Python anymore, right? I think there are some conditional imports (like toml) that we could simplify, and the pyproject.toml would get cleaner.

wdyt @tdstein?

Activity

  1. tdstein commented on Nov 10, 2026

    @tdstein
  2. tdstein commented on Nov 10, 2026

    @tdstein
    Collaborator

    Only if someone is importing as a library and running EOL Python, which they shouldn't be.

  3. tdstein commented on Nov 12, 2026

    @tdstein
    Collaborator

    @nealrichardson #972 makes this change. The CLI will require Python 3.11+ starting in 1.34.0.

  4. tdstein commented on Nov 19, 2026

    @tdstein
    Collaborator

    Completed in #972 and released in rsconnect-python 1.34.0. The CLI now requires Python 3.11+, which let us remove compatibility imports and conditional dependency pins. Projects targeting Python 3.8–3.10 can still deploy using a separately installed CLI. Users who install the CLI on those older interpreters resolve to 1.33.2, the last compatible release.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions