Skip to content

[proposal] Make new argparse container CLI opt-in#338

Closed
minrk wants to merge 1 commit intoipython:masterfrom
minrk:deprecated-container-cli
Closed

[proposal] Make new argparse container CLI opt-in#338
minrk wants to merge 1 commit intoipython:masterfrom
minrk:deprecated-container-cli

Conversation

@minrk
Copy link
Copy Markdown
Member

@minrk minrk commented Oct 25, 2016

to avoid a dependency bump causing backward-incompatible changes to downstream project APIs.

This would dramatically slow adoption of the new options, but it would allow downstream packages to take the step on their own terms.

Anywhere with common subclasses, such as jupyter-core would immediately run into the same problem, though.

cc @takluyver @Carreau @ankostis @ellisonbg @fperez @jhamrick

Another stab at backward-compatibility would be to try to detect users passing old-style args. We can't however, easily distinguish between users having passed old-style list args and actually asking for that string that looks a bit like a list via the new style.

My current inclination is to move to the new way, and detect old-style args, WARNING that the API changed, but not trying to keep the old arg working (which would break people's code trying to adopt the new API).

to avoid a dependency bump causing backward-incompatible changes to downstream project APIs.
@minrk
Copy link
Copy Markdown
Member Author

minrk commented Nov 22, 2016

Closing in favor of #340

@minrk minrk closed this Nov 22, 2016
@minrk minrk deleted the deprecated-container-cli branch November 22, 2016 10:25
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.

1 participant