Skip to content

Test minimum dependency bounds#103

Open
gselzer wants to merge 9 commits into
mainfrom
test-minimum-dependencies
Open

Test minimum dependency bounds#103
gselzer wants to merge 9 commits into
mainfrom
test-minimum-dependencies

Conversation

@gselzer
Copy link
Copy Markdown
Contributor

@gselzer gselzer commented May 6, 2026

It'd be great to verify that jgo works with all of the dependency versions it claims to support. Of course, testing all combinations is infeasible, but we could test other combinations (namely, the minimum bound, in addition to the maximum bounds currently tested)

Note that this PR adds in a number of dependency bounds, namely:

  • psutil>=1 - we just want a minimum bound, this one works despite being very old
  • All of the dev dependencies - I see no problem with restricting to the current maximum versions?

gselzer added 6 commits May 6, 2026 10:17
Didn't realize that all of the dependency installation is actually
happening here
Theoretically, everything we should need for the later steps should be
handled within the shell scripts
@ctrueden
Copy link
Copy Markdown
Member

ctrueden commented May 6, 2026

@gselzer Thanks! I took a look at the requests source code; it seems that 2.16.0 is the first version that removed the vendored packages/urllib3/packages/six.py. Setting that bound accordingly results in make test-lowest passing locally for me, so I'm going to see if it works on CI as well.

Versions before 2.16.0 vendored `packages/urllib3/packages/six.py`,
resulting in widespread failures of the form:

  ModuleNotFoundError: No module named 'urllib3.packages.six.moves'
@gselzer
Copy link
Copy Markdown
Contributor Author

gselzer commented May 6, 2026

Thanks @ctrueden!

Looks like we'll need an even newer version of requests though? (Or, maybe better, a pin on a newer urllib)

@gselzer
Copy link
Copy Markdown
Contributor Author

gselzer commented May 6, 2026

How do you feel about the expansion of the matrix to test highest and lowest for both? We could exclude some of these tests if you'd like (I just wanted to get things working before I pruned them down)

@gselzer gselzer force-pushed the test-minimum-dependencies branch from b06a010 to da52862 Compare May 6, 2026 21:10
We may have to binarysearch this :)
@gselzer gselzer force-pushed the test-minimum-dependencies branch from da52862 to 8df6bc7 Compare May 6, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants