Skip to content

Use django-storages' manifest files class instead of the overriden class #8781

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

Merged
merged 7 commits into from
Mar 7, 2022

Conversation

dogukanteber
Copy link
Contributor

Hopefully resolves #8773

@dogukanteber dogukanteber requested a review from a team as a code owner December 21, 2021 21:40
@astrojuanlu
Copy link
Contributor

Thanks for your contribution @dogukanteber ! We will have a look at it shortly

Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR. I added some comments that need to be addressed before moving forward.

@dogukanteber
Copy link
Contributor Author

Thank you for your comments @humitos. I will make the requested changes.

Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! Thanks @dogukanteber! We should be able to merge this PR and tested locally by running collectstatic 💪🏼

@dogukanteber
Copy link
Contributor Author

@humitos I guess something went wrong during CircleCI tests. I have been waiting the tests results for half an hour but nothing came up. So I took a look at the details and saw this error message:

sphinx-18 create: /home/circleci/project/.tox/sphinx-18
sphinx-18 installdeps: Sphinx~=1.8.0
ERROR: Got SIGTERM, handling it as a KeyboardInterrupt
ERROR: got KeyboardInterrupt signal


Too long with no output (exceeded 10m0s): context deadline exceeded

Did I cause this error? If not, can we rerun the tests?

@humitos
Copy link
Member

humitos commented Feb 1, 2022

@dogukanteber I'm not sure what's happening with CircleCI. I'm having the same problem with my PRs and I wasn't able to fix it yet. @stsewd do you know what it could be?

@stsewd
Copy link
Member

stsewd commented Feb 1, 2022

@dogukanteber I'm not sure what's happening with CircleCI. I'm having the same problem with my PRs and I wasn't able to fix it yet. @stsewd do you know what it could be?

nope

@dogukanteber
Copy link
Contributor Author

Hello @humitos. Any improvements about the PR?

@humitos
Copy link
Member

humitos commented Feb 15, 2022

I think the problem with CircleCI was an issue with pip. I re-triggered the tests to be run again. Let's see how it goes. If that does not work, you could rebase this PR against master or merge master into it.

@dogukanteber
Copy link
Contributor Author

I have merged master into this branch @humitos. It seems the previous error is disappeared. However, there is a Pylint error that says pylint: too-many-ancestors / Too many ancestors (9/7). I did not want to sweep under the rug just to get rid of the error. I'd like to get your opinion on this. How should we proceed?

@humitos
Copy link
Member

humitos commented Feb 28, 2022

😓 --you can disable that error by adding a comment right next the class definition:

class S3...(.., ..):  # pylint: disable=too-many-ancestors

@dogukanteber
Copy link
Contributor Author

I saw that coming. Now it says E501 / line too long (124 > 100 characters). I do not how to get around this error without removing the pylint error @humitos.

@humitos
Copy link
Member

humitos commented Mar 2, 2022

You can use

class MyClass(
   AnotherClass,
   AnotherClassExtra,
   ...
):

to avoid the line to be too long.

@dogukanteber
Copy link
Contributor Author

I suppose, I finally did it @humitos. I hope we can merge this in.

@humitos
Copy link
Member

humitos commented Mar 3, 2022

Yeaahhh! Awesome! Thank you so much! 💪

@humitos humitos merged commit a7e1c7c into readthedocs:master Mar 7, 2022
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.

Use django-storages's manifest files class
4 participants