From 20ccb221193abc283295ce0f69fc78cd2267e800 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 21 Feb 2024 15:07:44 -0800 Subject: [PATCH] Upgrade dependencies. Signed-off-by: Anders Kaseorg --- .github/workflows/zulip-ci.yml | 4 ++-- .github/workflows/zulip-tests.yml | 11 ++++++----- requirements.txt | 6 +++--- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.yml index 67b6b6462..a80573c8a 100644 --- a/.github/workflows/zulip-ci.yml +++ b/.github/workflows/zulip-ci.yml @@ -50,12 +50,12 @@ jobs: steps: - name: "Check out python-zulip-api" - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: api - name: "Check out Zulip server ${{ matrix.server_version }}" - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: zulip/zulip ref: ${{ matrix.server_version }} diff --git a/.github/workflows/zulip-tests.yml b/.github/workflows/zulip-tests.yml index 7337af9d9..3ac833fc2 100644 --- a/.github/workflows/zulip-tests.yml +++ b/.github/workflows/zulip-tests.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: "3.8" @@ -35,10 +35,10 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -57,6 +57,7 @@ jobs: zulip-api-py3-venv\Scripts\Activate.ps1 pytest --cov --cov-config=tools\.coveragerc --cov-report=xml - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v4 with: files: coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/requirements.txt b/requirements.txt index 8f2511090..ceab016a6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,12 +3,12 @@ twine mock pytest pytest-cov -ruff~=0.1.4 +ruff~=0.2.2 -e ./zulip -e ./zulip_bots -e ./zulip_botserver -git+https://github.com/zulip/zulint@61fe2ec73e272396152d293fbf07926120e42f38#egg=zulint==1.0.0 -mypy==1.6.1 +git+https://github.com/zulip/zulint@417b4e4971fdd5ca8e84847f1391b657b188631a#egg=zulint==1.0.0 +mypy==1.8.0 types-beautifulsoup4 types-httplib2 types-python-dateutil