diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 279edba..12fd9c0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.3.0 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4.5.0 with: - python-version: "3.10" + python-version: "3.11" - name: Install Dependencies run: pip install pipenv && pipenv install --dev - name: Lint with flake8 @@ -23,10 +23,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.3.0 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4.5.0 with: - python-version: "3.10" + python-version: "3.11" - name: Install Dependencies run: pip install pipenv && pipenv install --dev - name: Style with Black diff --git a/Dockerfile b/Dockerfile index 40a6de8..e014222 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM python:3.10-slim +FROM python:3.11-slim -RUN pip install -U pip && pip install -U requirementslib +RUN pip install -U pip && pip install -U "requirementslib==2.3.0" WORKDIR /opt/trainerdex diff --git a/Pipfile b/Pipfile index 1518756..ec91e88 100644 --- a/Pipfile +++ b/Pipfile @@ -19,4 +19,4 @@ flake8 = "*" isort = {extras = ["black"], version = "*"} [requires] -python_version = "3.10" +python_version = "3.11" diff --git a/pyproject.toml b/pyproject.toml index cef420f..59cd745 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ [tool.black] line-length = 117 -target-version = ['py310'] +target-version = ['py311'] [tool.isort] profile = "black" -py_version = 310 +py_version = 311 line_length = 117 combine_as_imports = true known_first_party = ["trainerdex"] \ No newline at end of file