Skip to content

Bump HTTP compat to "1", drop support for Julia versions below 1.6 #183

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 8 commits into from
Feb 6, 2023

Conversation

etpinard
Copy link
Contributor

I went ahead and cherry-picked @mind6's commits from #175 unto the current dev branch.


Since we had to disable the Percy tests (ref #177), I would be nice to manually test out this branch before merging it. I'll personally do that starting now.

I'm planning on releasing Dash v1.2.0 early next week.

@github-actions github-actions bot added CI enhancement New feature or request tests labels Jan 31, 2023
src/server.jl Outdated
task = @async HTTP.serve(handler, host, port; server = server, verbose = true)
task = @async HTTP.serve(handler, host, port; server = server, verbose = debug==true)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Personally I would set verbose=false even in under run_server(app; debug=true)

I'd say logs like

┌ Debug: startread called
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:427
┌ Debug: invoking handler
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:446
┌ Debug: closeread
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:452
┌ Debug: closewrite
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:454
┌ Debug: startread called
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:427
┌ Debug: invoking handler
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:446
┌ Debug: closeread
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:452
┌ Debug: closewrite
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:454
┌ Debug: startread called
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:427
┌ Debug: invoking handler
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:446
┌ Debug: closeread
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:452
┌ Debug: closewrite
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:454
┌ Debug: startread called
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:427
┌ Debug: invoking handler
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:446
┌ Debug: closeread
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:452

are pretty much useless for Dash.jl users. Thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes I think it's overly verbose for Dash and useless

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for your input @mind6 !

for `HTTP.serve`, the verbose HTTP
logs are too much for Dash.jl users
even while debugging.
The `verbose` default is `false`,
so we can drop it.
@etpinard
Copy link
Contributor Author

etpinard commented Feb 6, 2023

Ok. I'm going to go ahead and merge this and try to release Dash.jl v1.2.0 - wish me luck 🤞

@etpinard
Copy link
Contributor Author

Now available as v1.2.1 from Julia's general registry JuliaRegistries/General#77586 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI enhancement New feature or request tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants