Skip to content

Commit 09db0a9

Browse files
committed
Python 2 End-Of-Life
1 parent 3523813 commit 09db0a9

22 files changed

Lines changed: 4 additions & 52 deletions

.appveyor.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ environment:
77
# For Python versions available on Appveyor, see
88
# http://www.appveyor.com/docs/installed-software#python
99

10-
- BUILD_NAME: py27-unit
11-
PYTHON: "C:\\Python27"
1210
- BUILD_NAME: py34-unit
1311
PYTHON: "C:\\Python34"
1412
- BUILD_NAME: py35-unit
@@ -21,13 +19,9 @@ environment:
2119
- BUILD_NAME: py37-lint
2220
PYTHON: "C:\\Python37"
2321

24-
- BUILD_NAME: py27-docs
25-
PYTHON: "C:\\Python27"
2622
- BUILD_NAME: py37-docs
2723
PYTHON: "C:\\Python37"
2824

29-
- BUILD_NAME: py27-acceptance-ghdl
30-
PYTHON: "C:\\Python27"
3125
- BUILD_NAME: py37-acceptance-ghdl
3226
PYTHON: "C:\\Python37"
3327

.travis.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,13 @@ matrix:
1010
include:
1111
- &docker
1212
env:
13-
- BUILD_NAME=py27-acceptance-ghdl
14-
- DOCKER_IMAGE=mcode-2
13+
- BUILD_NAME=py38-acceptance-ghdl
14+
- DOCKER_IMAGE=llvm
1515
services: docker
1616
language: minimal
1717
install: skip
1818
script: docker run --rm -tv $(pwd):/src -w /src vunit/dev:$DOCKER_IMAGE tox -e $BUILD_NAME
1919

20-
- <<: *docker
21-
env:
22-
- BUILD_NAME=py38-acceptance-ghdl
23-
- DOCKER_IMAGE=llvm
24-
2520
- <<: *docker
2621
env:
2722
- BUILD_NAME=py38-vcomponents-ghdl
@@ -38,18 +33,13 @@ matrix:
3833
python: '3.8'
3934

4035

41-
- env: BUILD_NAME=py27-unit
42-
python: '2.7'
4336
- env: BUILD_NAME=py35-unit
4437
python: '3.5'
4538
- env: BUILD_NAME=py38-unit
4639
dist: xenial
4740
python: '3.8'
4841

4942

50-
- env: BUILD_NAME=py27-docs
51-
python: '2.7'
52-
before_script: git fetch --unshallow --tags
5343
- env: BUILD_NAME=py38-docs
5444
python: '3.8'
5545
before_script: git fetch --unshallow --tags
@@ -66,6 +56,7 @@ matrix:
6656
repo: VUnit/vunit
6757
branch: master
6858

59+
6960
# Deploy to PyPI whenever the package version has changed
7061
# When a package version has not changed a new upload will not be triggered
7162
- stage: deploy

tests/lint/test_license.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"""
88
License header sanity check
99
"""
10-
from __future__ import print_function
10+
1111

1212
import unittest
1313
from warnings import simplefilter, catch_warnings

tests/unit/test_test_runner.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
Test the test runner
99
"""
1010

11-
from __future__ import print_function
12-
1311
import unittest
1412
from os.path import join, abspath
1513

tests/unit/test_ui.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
Acceptance test of the VUnit public interface class
1111
"""
1212

13-
from __future__ import print_function
1413
import unittest
1514
from string import Template
1615
import os

tools/create_release_notes.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
Create monolithic release notes file from several input files
99
"""
1010

11-
from __future__ import print_function
12-
1311
from os.path import join, dirname, basename, splitext, relpath
1412
from glob import glob
1513
from subprocess import check_output, CalledProcessError

tools/docs_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
Helper functions to generate examples.rst from docstrings in run.py files
99
"""
1010

11-
from __future__ import print_function
12-
1311
import sys
1412
import inspect
1513
from os.path import basename, dirname, isdir, isfile, join

tools/incisive_vhdl_fixup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
Cadence Incisive
1010
"""
1111

12-
from __future__ import print_function
13-
1412
import os
1513
import re
1614

tools/release.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
The release process is described in the Contributing section of the web page
1010
"""
1111

12-
from __future__ import print_function
13-
1412
import argparse
1513
import json
1614
from urllib.request import urlopen # pylint: disable=no-name-in-module, import-error

vunit/ostools.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
"""
1111

1212

13-
from __future__ import print_function
14-
1513
import time
1614
import subprocess
1715
import threading

0 commit comments

Comments
 (0)