-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix colorlog import #1482
base: master
Are you sure you want to change the base?
fix colorlog import #1482
Conversation
Thanks for the PR!
So, before we make this change, I think we should either bump colorlog to the latest version ( |
Well, wouldn't it be useful to losen those hard constraints anyway to allow flexible integration with other packages? I'd remove the fixed dependencies so that an |
@maurerle I'd personally keep some form of constraint. If we loosen them completely, once the external library implements breaking changes it will cause exceptions on our end (also on production). What I would suggest is in-between: we can bump using a "compatible release" specifier (see PEP 440). For example, |
Sounds good, but this is AFAIK not possible using Maybe you can look at our fork to see how we managed to be flexible when needed by installing from base.in: I would love to integrate this into the upstream GSY. Furthermore, if you update gsy-framework, you have to directly update the repositories depending on it accordingly - as you are installing gsy-framework directly from master as a dependency. This is a major source for breaking. I would suggest to use git submodules there - as this allows to specify an explicit commit-id. What do you think about this? |
@maurerle in my experience, this is possible. We should just update Line 6 in 531423a
to be
Then running
I personally agree with this, but there might be other more straightforward ways to deal with it than using submodules. One way could be using tags or commits' hashes to point to the relevant gsy-framework commit. But this requires some time and effort on the team. I've raised the issue and created a ticket for it. |
e6d2b5c
to
8137962
Compare
Reason for the proposed changes
I get the error that colorlog is not valid.
This seems to have change in one of the latest versions of the package.
This issue occurs when installing with
pip install -e .
INTEGRATION_TESTS_BRANCH=master
GSY_FRAMEWORK_BRANCH=master