Replies: 2 comments
-
The following travis ci config solved the problem I was having. If there is a simpler solution please let me know. NB package is called mypkg, and has a directory in the root folder called "tests"
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe be more explicit on your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if I understand how the python requirement should be specified in pyproject.toml
The problem I have is this
If I put
in my pyproject file then an environment solve should not be possible. However when I run "poetry install" with a python 3.9 then it does "solve" and I get the following installs:
The pandas version is too small for Python 3.9, and automated testing with Travis CI fails as a result
If I try to force it by setting
Then the install fails to solve, stating that pandas requires Python >= 3.7.1
I can remove the python requirement from the dependencies and that would solve the problem, but then how do I restrict users from trying to use my package with a python version less than 3.6?
Beta Was this translation helpful? Give feedback.
All reactions