Skip to content
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

Deprecate --use-html-blobs #217

Merged

Conversation

felixfontein
Copy link
Collaborator

This feature is causing more and more problems, in particular now that it's so easy to reference options and return values (which simply won't work when this feature is enabled).

It is possible to make it work, but it's quite some amount of work, and I'm convinced that this isn't really needed.

(HTML tables are still a thing for the simplified-rst output format and won't go away there.)

@gotmax23
Copy link
Collaborator

I would print these warnings to file=sys.stderr

@briantist
Copy link
Contributor

that is a good point, why not use warnings.warn?

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
@felixfontein
Copy link
Collaborator Author

that is a good point, why not use warnings.warn?

I just tried that, the result was that the warning isn't printed.

@felixfontein
Copy link
Collaborator Author

(I didn't spend much time trying to figure out why the warnings don't show... But I guess doing it this way also works, since these parts aren't used - or shouldn't be used - as Python libraries.)

@felixfontein felixfontein merged commit 60de5f1 into ansible-community:main Sep 18, 2023
10 checks passed
@felixfontein felixfontein deleted the deprecate-html-tables branch September 18, 2023 16:36
@felixfontein
Copy link
Collaborator Author

@briantist @gotmax23 thanks a lot for reviewing this!

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.

3 participants