Skip to content

Commit

Permalink
Remove deprecated beta warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Nov 14, 2023
1 parent 95ed756 commit f56a465
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
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 f56a465

Please sign in to comment.