Skip to content

Conversation

@dpinol
Copy link

@dpinol dpinol commented Dec 29, 2021

Fixes #480

@dpinol dpinol force-pushed the dp/fix-optimize branch from 1996505 to e097806 Compare April 6, 2022 10:20
@codecov
Copy link

codecov bot commented Apr 6, 2022

Codecov Report

Base: 87.34% // Head: 87.37% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (1c43748) compared to base (b95e524).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #481      +/-   ##
==========================================
+ Coverage   87.34%   87.37%   +0.02%     
==========================================
  Files          39       39              
  Lines        2316     2320       +4     
==========================================
+ Hits         2023     2027       +4     
  Misses        293      293              
Impacted Files Coverage Δ
src/julia/tests/test_juliaoptions.py 100.00% <ø> (ø)
src/julia/options.py 96.19% <100.00%> (ø)
src/julia/tests/test_options.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@MilesCranmer
Copy link
Collaborator

@mkitti do you think you could merge this? (You have merge access, right?)

@mkitti
Copy link
Member

mkitti commented Oct 13, 2022

We would need to get these tests passing

@mkitti
Copy link
Member

mkitti commented Oct 13, 2022

@MilesCranmer Clone the branch, get the tests to pass, and submit a new PR pinging me. Then I will merge it.

@dpinol
Copy link
Author

dpinol commented Oct 13, 2022

logs have expired. Can sb rerun the tests?

@mkitti mkitti closed this Oct 13, 2022
@mkitti mkitti reopened this Oct 13, 2022
@mkitti mkitti requested review from mkitti and tkf October 13, 2022 14:57
@mkitti
Copy link
Member

mkitti commented Oct 13, 2022

Considering rebasing

@dpinol
Copy link
Author

dpinol commented Oct 13, 2022

@mkitti done

@mkitti
Copy link
Member

mkitti commented Oct 13, 2022

Hmm, that did not seem to fix testing.

@MilesCranmer
Copy link
Collaborator

It seems unrelated to this PR - the issue seems to be because the CI is trying to download a pip package from an HTTP URL instead of HTTPS, and urllib no longer allows non-SSL requests:

      Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.27.tar.gz

I think that's why the Python 2.7 version works - since the old urllib hasn't deprecated non-SSL.

@MilesCranmer
Copy link
Collaborator

FYI @dpinol once #508 is merged this should work

@dpinol dpinol force-pushed the dp/fix-optimize branch 2 times, most recently from 355cf39 to c8f5f64 Compare November 9, 2022 08:24
@dpinol
Copy link
Author

dpinol commented Nov 9, 2022

@MilesCranmer rebased. thanks

@MilesCranmer
Copy link
Collaborator

@mkitti any idea how to change the actions for “Required statuses must pass before merging”? It seems like they are for a different CI naming scheme maybe.

Copy link
Collaborator

@MilesCranmer MilesCranmer left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@mkitti
Copy link
Member

mkitti commented Nov 9, 2022

any idea how to change the actions for “Required statuses must pass before merging”? It seems like they are for a different CI naming scheme maybe.

Let me take a look at the branch protection rules.

(dict(compiled_modules="no"), ["--compiled-modules", "no"]),
(dict(depwarn="error"), ["--depwarn", "error"]),
(dict(sysimage="PATH"), ["--sysimage", "PATH"]),
(dict(bindir="PATH"), ["--home", "PATH"]),
Copy link
Member

Choose a reason for hiding this comment

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

What happened to bindir?

Copy link
Member

Choose a reason for hiding this comment

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

Other than this merge when ready.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Is bindir an option in Julia anymore? I don't see it in the --help menu.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure, I can't even use it locally:

julia --bindir=$PATH
# ERROR: unknown option `--bindir

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it's replaced by --home?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh yeah, there it is:

    def cli_argument_name(self):
        name = {"bindir": "home"}.get(self.name, self.name)

So this should not be removed @dpinol

Copy link
Member

Choose a reason for hiding this comment

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

I readded it.

@mkitti
Copy link
Member

mkitti commented Nov 9, 2022

Status checks should be functional now

@MilesCranmer
Copy link
Collaborator

Could this one be merged?

@mkitti mkitti enabled auto-merge November 12, 2022 00:44
@mkitti mkitti merged commit e5b06f1 into JuliaPy:master Nov 12, 2022
@MilesCranmer
Copy link
Collaborator

Awesome! 🚀

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.

Failure when setting optimize option

3 participants