Skip to content

Commit

Permalink
Upgrade GitHub Action checkout to v4 (#32)
Browse files Browse the repository at this point in the history
* Upgrade GitHub Action checkout to v4
* Remove deprecated beta warnings
  • Loading branch information
cclauss authored Nov 24, 2023
1 parent 0a6d6e6 commit bb18b75
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache Vcpkg
uses: actions/cache@v3
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3 # TODO: Upgrade to @v4 causes GLIBC failures
with:
fetch-depth: 0

Expand All @@ -159,7 +159,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3 # TODO: Upgrade to @v4 causes GLIBC failures
with:
fetch-depth: 0

Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
needs: build-wheels
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
Expand Down
4 changes: 0 additions & 4 deletions fastwarc/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@

import os
import sys
import warnings

from Cython.Build import cythonize
from Cython.Distutils.build_ext import new_build_ext as build_ext
import distutils.ccompiler
from distutils.dir_util import copy_tree
from setuptools import Extension, setup
from setuptools.config import pyprojecttoml

TRACE = bool(int(os.getenv('TRACE', 0)))
DEBUG = bool(int(os.getenv('DEBUG', 0))) or TRACE
Expand All @@ -30,8 +28,6 @@
ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
CXX = distutils.ccompiler.get_default_compiler()

# noinspection PyProtectedMember
warnings.simplefilter('ignore', pyprojecttoml._BetaConfiguration)

def get_cpp_args():
cpp_args = {}
Expand Down
4 changes: 0 additions & 4 deletions resiliparse/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
import platform
import shutil
import sys
import warnings

from Cython.Build import cythonize
from Cython.Distutils.build_ext import new_build_ext as build_ext
import distutils.ccompiler
from setuptools import Extension, setup
from setuptools.config import pyprojecttoml

TRACE = bool(int(os.getenv('TRACE', 0)))
DEBUG = bool(int(os.getenv('DEBUG', 0))) or TRACE
Expand All @@ -32,8 +30,6 @@
ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
CXX = distutils.ccompiler.get_default_compiler()

# noinspection PyProtectedMember
warnings.simplefilter('ignore', pyprojecttoml._BetaConfiguration)

def get_cpp_args():
cpp_args = {}
Expand Down

0 comments on commit bb18b75

Please sign in to comment.