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
Thumbor 7 #103
Thumbor 7 #103
Conversation
* updated Dockerfile and docker-entrypoint based on #67 (comment) * updated push, so we will push alpha tags on this branch, but not overwriting `latest` (and also semaphore CI)
This reverts commit 354a14f.
@heynemann let's continue the work here? :) I created a new thumbor:7.0.0 image on docker hub... I tried it and I'm getting this error however:
I guess we might need to add more libraries to requirements.txt? |
thumbor/requirements.txt
Outdated
tornado-botocore==1.5.0 | ||
tc-aws==6.2.10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@heynemann I guess we still need some of the libraries here with thumbor 7 ? which ones? and which versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created a new library called thumbor-aws we can use until tc-aws gets updated to python3. https://github.com/thumbor/thumbor-aws
The problem with urllib2 is that tc-aws is not python3 compliant. https://stackoverflow.com/questions/2792650/import-error-no-module-name-urllib2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so should we add thumbor-aws to requirements.txt ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, correct me if I'm wrong, but wouldn't this require a change to the configs? e.g. if someone uses LOADER=tc_aws.loaders.s3_loaders
they would need to change it? if so, is there a way to make thumbor-aws backwards compatible, so it accepts the "old" config directives?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I meant as an additional lib to the docker image :) That way people who want can use it while tc-aws is not compatible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is :) will work on making it more compatible later...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. What's the next step here then? I'm not sure I completely follow :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@heynemann is all this resolved since tc_aws 7.0.2 works with Thumbor 7?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated tc-aws to 7.0.2. There's a new thumbor 7.4.7 image on docker hub. Can you test it? ideally with tc-aws. I think this should solve the urllib2 issue.
Regarding the conf file it's super fine. We didn't change any configuration during our "revamp". Added some as the handlers list, but configurations remain the same. |
This reverts commit 4a31dc4.
* Disable multi arch support for SIMD images
@danquack @mpdude I think we're getting closer to getting this out. A couple of things I could really use your help on though:
|
* Overwrite host address 0.0.0.0 with THUMBOR_HOST --------- Co-authored-by: Roman Stelmakh <47328012+roman-stelmakh-emesa@users.noreply.github.com>
|
I'll go ahead and merge these changes and move to Thumbor 7. We can deal with any issues later, and there's still the old |
Upgrade to thumbor 7.0.0 #67 (comment)
TODO
requirements.txt
?requirements.txt
(which?)