Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: amaranth-lang/amaranth
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 369cc59d69d9
Choose a base ref
...
head repository: amaranth-lang/amaranth
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3379f072a0d8
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 5, 2021

  1. _toolchain.cxx: ignore deprecation warning (on Python 3.6).

    This code really shouldn't be using distutils, but for now this will
    have to do.
    whitequark committed Nov 5, 2021
    Copy the full SHA
    3379f07 View commit details
Showing with 7 additions and 1 deletion.
  1. +7 −1 nmigen/_toolchain/cxx.py
8 changes: 7 additions & 1 deletion nmigen/_toolchain/cxx.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import tempfile
import sysconfig
import warnings
import os.path
from setuptools import distutils


with warnings.catch_warnings():
warnings.filterwarnings(action="ignore", category=DeprecationWarning)
# this causes a DeprecationWarning on Python 3.6 (but not later)
from setuptools import distutils


__all__ = ["build_cxx"]