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 — Remove python upper bound · Issue #911 · testcontainers/testcontainers-python

Remove python upper bound #911

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove python upper bound#911
Copy link

Description

@edmondchuc
edmondchuc
opened on Oct 27, 2025
Issue body actions

Currently, testcontainers-python has this upper bound specified for the python version.

testcontainers-python/pyproject.toml

Line 83 in 3f66784

python = ">=3.9.2,<4.0"

In most cases, testcontainers is used as a dev dependency, but this upper bound ends up forcing downstream libraries to include the same restriction even when it’s not a true runtime dependency. This feels a bit too restrictive and adds extra maintenance burden for library authors.

Could we consider removing the upper bound? Thanks!

Activity

  1. alexanderankin commented on Oct 27, 2025

    @alexanderankin
    alexanderankin
    on Oct 27, 2025
    Member
    More actions

    like this? see if depending on this branch instead of the published version on pypi fixes it - https://github.com/testcontainers/testcontainers-python/tree/fix/no-max-python-version

    here is the commit: d594a74

    what package management do you use at work, btw?

  2. edmondchuc commented on Oct 27, 2025

    @edmondchuc
    edmondchuc
    on Oct 27, 2025
    Author
    More actions

    I haven't tested it yet but yes, the change in your commit should work.

    what package management do you use at work, btw?

    I use both uv and poetry.

  3. alexanderankin commented on Oct 27, 2025

    @alexanderankin
    alexanderankin
    on Oct 27, 2025
    Member
    More actions

    turns out we had a couple libraries that suffer from this

  4. edmondchuc commented on Oct 28, 2025

    @edmondchuc
    edmondchuc
    on Oct 28, 2025
    Author
    More actions

    Thanks for the quick response! Appreciate it.

  5. alexanderankin commented on Nov 14, 2025

    @alexanderankin
    alexanderankin
    on Nov 14, 2025
    Member
    More actions

    this has been released

    Reacted by Edmond Chuc
  6. alexanderankin
    closed this as completedon Nov 14, 2025
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

      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.