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 werkzeug.script #1090

Merged
merged 6 commits into from
Mar 30, 2017
Merged

Deprecate werkzeug.script #1090

merged 6 commits into from
Mar 30, 2017

Commits on Mar 28, 2017

  1. Drop werkzeug.script from main code

    This commit deletes werkzeug/script.py, suggest using pallets/click
    instead of werkzeug.script for bigger applications and deletes script
    module from being loaded in werkzeug/__init__.py
    
    Signed-off-by: Antonio Ossa <aaossa@uc.cl>
    aaossa committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    c7a3841 View commit details
    Browse the repository at this point in the history
  2. Suggest pallets/click to replace werkzeug.script

    As suggested in the corresponding issue, click is the recommended
    replacement
    
    #1079 (comment)
    
    Signed-off-by: Antonio Ossa <aaossa@uc.cl>
    aaossa committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    e609041 View commit details
    Browse the repository at this point in the history
  3. Add deprecation note to CHANGES

    Signed-off-by: Antonio Ossa <aaossa@uc.cl>
    aaossa committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    cfc58ee View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2017

  1. Update examples

    Every manage-<example>.py file used werkzeug.script a deprecated (and
    now definitely removed) module. The new cli are powered by click [1]
    
    [1]: https://github.com/pallets/click
    
    Signed-off-by: Antonio Ossa <aaossa@uc.cl>
    aaossa committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    8098d03 View commit details
    Browse the repository at this point in the history
  2. Recommend click to replace werkzeug.script

    This commit updates docs and comments to recommend `click` and display
    the `click` website ([1]) when possible
    
    [1]: http://click.pocoo.org
    
    Signed-off-by: Antonio Ossa <aaossa@uc.cl>
    aaossa committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    629b6a4 View commit details
    Browse the repository at this point in the history
  3. Update examples code

    Some changes were made in `couchdb` and `werkzeug`. It's time to
    update our examples. Now they should work on Python 2.
    
    Signed-off-by: Antonio Ossa <aaossa@uc.cl>
    aaossa committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    46bbf0a View commit details
    Browse the repository at this point in the history