From 9c4ec28c8887e8a71dba357266270a1fef625150 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Sun, 11 Aug 2019 10:05:14 -0700 Subject: [PATCH 1/4] Update Travis config to use Trusty and add new Pythons --- .travis.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4089619..e1b6762 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,16 @@ --- language: python -python: - - '2.6' - - '2.7' - - '3.3' - - '3.4' +matrix: + include: + - python: '2.6' + dist: trusty + - python: '2.7' + - python: '3.3' + dist: trusty + - python: '3.4' + - python: '3.5' + - python: '3.6' + - python: '3.7' before_install: - git clone git://github.com/maxmind/geoip-api-c - cd geoip-api-c From f0cf04f10e0756c2bd4f839ed2d85ca7db4063f3 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Thu, 25 Jun 2020 08:06:11 -0700 Subject: [PATCH 2/4] Create codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..8256fbf --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,46 @@ +name: "Code scanning - action" + +on: + push: + pull_request: + schedule: + - cron: '0 20 * * 4' + +jobs: + CodeQL-Build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + # We must fetch at least the immediate parents so that if this is + # a pull request then we can checkout the head. + fetch-depth: 2 + + # If this run was triggered by a pull request event, then checkout + # the head of the pull request instead of the merge commit. + - run: git checkout HEAD^2 + if: ${{ github.event_name == 'pull_request' }} + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + # Override language selection by uncommenting this and choosing your languages + with: + languages: python, cpp + + # â„šī¸ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + - run: | + sudo apt install libgeoip-dev + python setup.py build + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 From 2604c2e124116951c7b09cc52100b0c97a6e65e2 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 5 Feb 2021 12:41:06 -0800 Subject: [PATCH 3/4] Add EOL notice --- README.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.rst b/README.rst index 0261229..ac0974b 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,20 @@ MaxMind GeoIP Legacy Python Extension API ========================================= +End of Life +----------- + +MaxMind will be retiring the GeoIP Legacy databases at the end of May +2022. Until then, this library will only receive critical security and bug +fixes. Support for this library will end completely with the last release of +the legacy GeoIP databases. + +We recommend that you upgrade to our GeoIP2 databases. You can read these +from Python using `our GeoIP2 Python API `_. + +See `our blog post `_ +for more information. + Requirements ------------ From 3f95af6c2d0d39ad84d81cde1241812064260e2c Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 11 Feb 2021 19:55:45 +0000 Subject: [PATCH 4/4] Create Dependabot config file --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..491deae --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: +- package-ecosystem: pip + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10