Repository: apache/airflow
Pull request: Rename nteract-scrapbook to scrapbook
<!--
Thank you for contributing! Please make sure that your code changes
are covered with tests. And in case of new features or big changes
remember to adjust the documentation.

Feel free to ping committers for the review!

In case of existing issue, reference it using one of the following:

closes: #ISSUE
related: #ISSUE

How to write a good git commit message:
http://chris.beams.io/posts/git-commit/
-->
close: #15289
The package is renamed `nteract-scrapbook` to `scrapbook`. The old package will not be updated for new releases.

---
**^ Add meaningful description above**

Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).


Problem statement:
reporting deprecated warnings saw in breeze
when working with breeze I saw these warnings many times in the logs:

 ```
 =============================== warnings summary ===============================
  tests/providers/amazon/aws/log/test_cloudwatch_task_handler.py::TestCloudwatchTaskHandler::test_close_prevents_duplicate_calls
    /usr/local/lib/python3.6/site-packages/jose/backends/cryptography_backend.py:18: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
      from cryptography.utils import int_from_bytes, int_to_bytes
      
 tests/always/test_example_dags.py::TestExampleDags::test_should_be_importable
    /usr/local/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
      return f(*args, **kwds)
  
  tests/always/test_example_dags.py::TestExampleDags::test_should_be_importable
    /usr/local/lib/python3.6/site-packages/scrapbook/__init__.py:8: FutureWarning: 'nteract-scrapbook' package has been renamed to `scrapbook`. No new releases are going out for this old package name.
      warnings.warn("'nteract-scrapbook' package has been renamed to `scrapbook`. No new releases are going out for this old package name.", FutureWarning)
```

Hints from issue discussion:

Commit message: Rename nteract-scrapbook to scrapbook

Patch to review:
diff --git a/setup.py b/setup.py
index 9441b6bdd96ff..9ad48c4c13efa 100644
--- a/setup.py
+++ b/setup.py
@@ -384,8 +384,8 @@ def get_sphinx_theme_version() -> str:
     'pdpyras>=4.1.2,<5',
 ]
 papermill = [
-    'nteract-scrapbook[all]>=0.3.1',
     'papermill[all]>=1.2.1',
+    'scrapbook[all]>=0.3.1',
 ]
 password = [
     'bcrypt>=2.0.0',


Code review comments:
diff_hunk: @@ -384,8 +384,8 @@ def get_sphinx_theme_version() -> str:
     'pdpyras>=4.1.2,<5',
 ]
 papermill = [
-    'nteract-scrapbook[all]>=0.3.1',
     'papermill[all]>=1.2.1',
+    'scrapbook[all]>=0.3.1',
path: setup.py
text: @user1:
Why do we need to pin min version?
`scrapbook` starts from version `0.5.0`

https://pypi.org/project/scrapbook/#history
https://pypi.org/project/nteract-scrapbook/#history


@author:
Good point!