-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Merge features into master #5491
Merge features into master #5491
Conversation
Merge master into features
Disallow abbreviated command-line options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scripts/release.py
Outdated
@@ -105,7 +105,7 @@ def changelog(version, write_out=False): | |||
|
|||
def main(): | |||
init(autoreset=True) | |||
parser = argparse.ArgumentParser() | |||
parser = argparse.ArgumentParser(allow_abbrev=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idk why we changed this in this file, there's no plugins involved here and prefix matching is actually kind of a nice feature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the mentioned issues for the problems that prefix matching brings, namely that we can't know that a prefix matches a given option during preparsing, because later on plugins might register options that actually match the option given by the user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh but you got a point about changing it in this file, here doesn't really hurt. 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be clear, I agree with the change in pytest proper, just not in these helper scripts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I understand and agree. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok if I add a commit to this PR which undoes those two?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me!
extra/get_issues.py
Outdated
@@ -74,7 +74,7 @@ def report(issues): | |||
if __name__ == "__main__": | |||
import argparse | |||
|
|||
parser = argparse.ArgumentParser("process bitbucket issues") | |||
parser = argparse.ArgumentParser("process bitbucket issues", allow_abbrev=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
""
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, my bad for not catching this really.
Codecov Report
@@ Coverage Diff @@
## master #5491 +/- ##
=======================================
Coverage 93.78% 93.78%
=======================================
Files 117 117
Lines 25550 25550
Branches 2473 2473
=======================================
Hits 23962 23962
Misses 1259 1259
Partials 329 329
Continue to review full report at Codecov.
|
Merging as the failure is related to tox, which should have been fixed by now with the 3.13.1 release. 👍 |
Didn't realize @Zac-HD's last PR was targeting
features
.@Zac-HD we didn't really announce it anywhere (sorry), but we will work only on
master
until 5.0 is released, because the py27/py34 support drop happened onmaster
.After 5.0 gets released, it is business as usual regarding
master
/features
. 👍