diff --git a/.github/ISSUE_TEMPLATE/issue-report-feature-request.md b/.github/ISSUE_TEMPLATE/issue-report-feature-request.md index d44240f80e..bf14be8075 100644 --- a/.github/ISSUE_TEMPLATE/issue-report-feature-request.md +++ b/.github/ISSUE_TEMPLATE/issue-report-feature-request.md @@ -39,7 +39,7 @@ would be used. *Please complete the following information:*: > - Cartography release version or commit hash [e.g. 0.12.0 or 95e8e11913e2a44a4d4682506d8364a638ceac69] -> - Python version: [e.g. 3.7.4] +> - Python version: [e.g. 3.10.0] > - OS (feel free to omit this if you don't think it's relevant to your issue): [e.g. Ubuntu bla bla, OSX bla bla] diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index d9411213d7..eb1f1f08c7 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.10 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.10 - name: Install pypa/build run: >- python -m diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index df5972735e..57075f9aea 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -24,7 +24,7 @@ jobs: - name: Install Python uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: 3.10 # https://docs.github.com/en/actions/guides/building-and-testing-python#caching-dependencies # ^-- How to set up caching for pip on Ubuntu - name: Cache pip diff --git a/.github/workflows/test_suite.yml b/.github/workflows/test_suite.yml index c90ece705c..586e3b7823 100644 --- a/.github/workflows/test_suite.yml +++ b/.github/workflows/test_suite.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 with: - python-version: "3.8" + python-version: "3.10" - uses: pre-commit/action@v3.0.0 with: extra_args: --all-files --show-diff-on-failure @@ -38,7 +38,7 @@ jobs: neo4j:4.4-community - uses: actions/setup-python@v2 with: - python-version: "3.8" + python-version: "3.10" # Cache our pip dir for efficiency; see https://medium.com/ai2-blog/python-caching-in-github-actions-e9452698e98d. - uses: actions/cache@v2 with: @@ -72,7 +72,7 @@ jobs: neo4j:5 - uses: actions/setup-python@v2 with: - python-version: "3.8" + python-version: "3.10" # Cache our pip dir for efficiency; see https://medium.com/ai2-blog/python-caching-in-github-actions-e9452698e98d. - uses: actions/cache@v2 with: diff --git a/Dockerfile b/Dockerfile index e16eda767a..11a074cd1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* # Installs pip supported by python3.8 -RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.8 get-pip.py +RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.10 get-pip.py # Create cartography user so that we can give it ownership of the directory later for unit&integ tests RUN groupadd cartography && \ diff --git a/dist.Dockerfile b/dist.Dockerfile index 61a95f96f1..bbb377a476 100644 --- a/dist.Dockerfile +++ b/dist.Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9-slim@sha256:85c7a2a383a01e0b77b5f9c97d8b1eef70409a99552fde03c518a98dfa19609c +FROM python:3.10-slim # the UID and GID to run cartography as # (https://github.com/hexops/dockerfile#do-not-use-a-uid-below-10000). diff --git a/docs/root/install.md b/docs/root/install.md index 0e3d8ffd69..6dac56d15d 100644 --- a/docs/root/install.md +++ b/docs/root/install.md @@ -2,7 +2,7 @@ .. _cartography-installation: -Time to set up the server that will run Cartography. Cartography _should_ work on both Linux and Windows servers, but bear in mind we've only tested it in Linux so far. Cartography supports Python 3.8. Older versions of Python may work but are not explicitly supported. +Time to set up the server that will run Cartography. Cartography _should_ work on both Linux and Windows servers, but bear in mind we've only tested it in Linux so far. Cartography supports Python 3.10. Older versions of Python may work but are not explicitly supported. 1. **Run the Neo4j graph database version 4.x** on your server. diff --git a/setup.py b/setup.py index 24fbaec63a..53e57bfafe 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import find_packages from setuptools import setup -__version__ = '0.89.0' +__version__ = '0.90.0rc1' setup( @@ -83,7 +83,7 @@ 'Natural Language :: English', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.10', 'Topic :: Security', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules',