From b4416bc8f00dbda5a587411df8a7e427db96496a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2019 23:10:34 +0000 Subject: [PATCH 1/4] Bump flask from 0.10.1 to 1.0 Bumps [flask](https://github.com/pallets/flask) from 0.10.1 to 1.0. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/master/CHANGES.rst) - [Commits](https://github.com/pallets/flask/compare/0.10.1...1.0) Signed-off-by: dependabot[bot] --- First_edition_2014/requirements.txt | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/First_edition_2014/requirements.txt b/First_edition_2014/requirements.txt index 7d93487..8684c12 100644 --- a/First_edition_2014/requirements.txt +++ b/First_edition_2014/requirements.txt @@ -1,4 +1,4 @@ -Flask==0.10.1 +Flask==1.0 SQLAlchemy==0.9.7 bpython==0.13.1 coverage==3.7.1 diff --git a/requirements.txt b/requirements.txt index 7d93487..8684c12 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Flask==0.10.1 +Flask==1.0 SQLAlchemy==0.9.7 bpython==0.13.1 coverage==3.7.1 From eebc81ed07da317e6d73812a320911215b4e70e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2019 23:10:41 +0000 Subject: [PATCH 2/4] Bump scapy from 2.2.0 to 2.4.1 Bumps [scapy](https://github.com/secdev/scapy) from 2.2.0 to 2.4.1. - [Release notes](https://github.com/secdev/scapy/releases) - [Commits](https://github.com/secdev/scapy/compare/v2.2.0...v2.4.1) Signed-off-by: dependabot[bot] --- First_edition_2014/requirements.txt | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/First_edition_2014/requirements.txt b/First_edition_2014/requirements.txt index 7d93487..43293d6 100644 --- a/First_edition_2014/requirements.txt +++ b/First_edition_2014/requirements.txt @@ -8,6 +8,6 @@ ipython==0.13.2 matplotlib==1.3.1 nose==1.3.0 numpy==1.8.2 -scapy==2.2.0 +scapy==2.4.1 scikit-learn==0.14.1 scipy==0.12.1 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 7d93487..43293d6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,6 +8,6 @@ ipython==0.13.2 matplotlib==1.3.1 nose==1.3.0 numpy==1.8.2 -scapy==2.2.0 +scapy==2.4.1 scikit-learn==0.14.1 scipy==0.12.1 \ No newline at end of file From 28f35a0c2b5a19a71f6bdc9e09277961f01c38a0 Mon Sep 17 00:00:00 2001 From: Mia von Steinkirch Date: Sun, 20 Oct 2019 23:21:19 -0700 Subject: [PATCH 3/4] Update pythonapp.yml --- .github/workflows/pythonapp.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/pythonapp.yml diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml new file mode 100644 index 0000000..5639973 --- /dev/null +++ b/.github/workflows/pythonapp.yml @@ -0,0 +1,30 @@ +name: Python application + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Lint with flake8 + run: | + pip install flake8 + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Test with pytest + run: | + pip install pytest + pytest From c22225ec08076965aa3bbfc3800bdd218737815e Mon Sep 17 00:00:00 2001 From: Mia von Steinkirch Date: Sun, 27 Oct 2019 13:59:02 -0700 Subject: [PATCH 4/4] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ee23985..59665cc 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ -## Python & Algorithms Book +## Book on Python, Algorithms, and Data Structures -➡️ [PDF (1st edition, 2014, published by Hanbit Media)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014/ebook_pdf/book_second_edition.pdf) and [source code](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014). +➡️ [PDF (1st edition, 2013, published by Hanbit Media in 2015)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014/ebook_pdf/book_second_edition.pdf) and [source code](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014). -➡️ [Source code (2nd edition, 2019)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/Second_edition_2019). +➡️ [Source code (2nd edition, 2019, ported to Python 3.7)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/Second_edition_2019). ## License This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/). -When making a reference to my work, please use my [website](http://bt3gl.github.io/index.html). +