Skip to content

Commit

Permalink
Python 2 End-Of-Life
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Oct 13, 2019
1 parent a43d633 commit 721bb6a
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 45 deletions.
8 changes: 0 additions & 8 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ environment:
# For Python versions available on Appveyor, see
# http://www.appveyor.com/docs/installed-software#python

- BUILD_NAME: py27-unit
PYTHON: "C:\\Python27"
- BUILD_NAME: py34-unit
PYTHON: "C:\\Python34"
- BUILD_NAME: py35-unit
Expand All @@ -18,18 +16,12 @@ environment:
- BUILD_NAME: py37-unit
PYTHON: "C:\\Python37"

- BUILD_NAME: py27-lint
PYTHON: "C:\\Python27"
- BUILD_NAME: py37-lint
PYTHON: "C:\\Python37"

- BUILD_NAME: py27-docs
PYTHON: "C:\\Python27"
- BUILD_NAME: py37-docs
PYTHON: "C:\\Python37"

- BUILD_NAME: py27-acceptance-ghdl
PYTHON: "C:\\Python27"
- BUILD_NAME: py37-acceptance-ghdl
PYTHON: "C:\\Python37"

Expand Down
17 changes: 3 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,24 @@ matrix:
include:
- &docker
env:
- BUILD_NAME=py27-acceptance-ghdl
- DOCKER_IMAGE=mcode-2
- BUILD_NAME=py37-acceptance-ghdl
- DOCKER_IMAGE=llvm
services: docker
language: minimal
install: skip
script: docker run --rm -tv $(pwd):/src -w /src vunit/dev:$DOCKER_IMAGE tox -e $BUILD_NAME

- <<: *docker
env:
- BUILD_NAME=py37-acceptance-ghdl
- DOCKER_IMAGE=llvm

- <<: *docker
env:
- BUILD_NAME=py37-vcomponents-ghdl
- DOCKER_IMAGE=mcode


- env: BUILD_NAME=py27-lint
python: '2.7'
- env: BUILD_NAME=py37-lint
dist: xenial
python: '3.7'


- env: BUILD_NAME=py27-unit
python: '2.7'
- env: BUILD_NAME=py34-unit
python: '3.4'
- env: BUILD_NAME=py35-unit
Expand All @@ -48,9 +39,6 @@ matrix:
python: '3.7'


- env: BUILD_NAME=py27-docs
python: '2.7'
before_script: git fetch --unshallow --tags
- env: BUILD_NAME=py36-docs
python: '3.6'
before_script: git fetch --unshallow --tags
Expand All @@ -67,6 +55,7 @@ matrix:
repo: VUnit/vunit
branch: master


# Deploy to PyPI whenever the package version has changed
# When a package version has not changed a new upload will not be triggered
- stage: deploy
Expand Down
2 changes: 0 additions & 2 deletions vunit/activehdl_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
"""


from __future__ import print_function

from os.path import join, dirname, abspath
import os
import re
Expand Down
1 change: 0 additions & 1 deletion vunit/ghdl_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Interface for GHDL simulator
"""

from __future__ import print_function
import logging
from os.path import exists, join, abspath
import os
Expand Down
1 change: 0 additions & 1 deletion vunit/incisive_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Interface for the Cadence Incisive simulator
"""

from __future__ import print_function
import os
from os.path import join, dirname, abspath, relpath
import subprocess
Expand Down
2 changes: 0 additions & 2 deletions vunit/modelsim_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
"""


from __future__ import print_function

import logging
import sys
import io
Expand Down
2 changes: 0 additions & 2 deletions vunit/ostools.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
"""


from __future__ import print_function

import time
import subprocess
import threading
Expand Down
1 change: 0 additions & 1 deletion vunit/parsing/verilog/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
Verilog preprocessing
"""

from __future__ import print_function
from vunit.parsing.tokenizer import Tokenizer, Token
from vunit.parsing.verilog.tokens import *

Expand Down
1 change: 0 additions & 1 deletion vunit/persistent_tcl_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
A persistent TCL shell to avoid startup overhead in TCL-based simulators
"""

from __future__ import print_function
import threading
import logging
from vunit.ostools import Process
Expand Down
2 changes: 0 additions & 2 deletions vunit/rivierapro_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
"""


from __future__ import print_function

from os.path import join, dirname, abspath
import os
import re
Expand Down
1 change: 0 additions & 1 deletion vunit/simulator_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generic simulator interface
"""

from __future__ import print_function
import sys
import os
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion vunit/test/lint/test_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"""
License header sanity check
"""
from __future__ import print_function


import unittest
from warnings import simplefilter, catch_warnings
Expand Down
2 changes: 0 additions & 2 deletions vunit/test/unit/test_test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
"""


from __future__ import print_function

import unittest
from os.path import join, abspath

Expand Down
1 change: 0 additions & 1 deletion vunit/test/unit/test_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
Acceptance test of the VUnit public interface class
"""

from __future__ import print_function
import unittest
from string import Template
import os
Expand Down
2 changes: 0 additions & 2 deletions vunit/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
"""


from __future__ import print_function

import os
from os.path import join, exists, abspath, basename, relpath
import traceback
Expand Down
2 changes: 0 additions & 2 deletions vunit/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,6 @@
"""


from __future__ import print_function

import csv
import sys
import traceback
Expand Down
1 change: 0 additions & 1 deletion vunit/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Check that the Python version used is supported by VUnit
"""

from __future__ import print_function
import sys


Expand Down
1 change: 0 additions & 1 deletion vunit/vivado/vivado.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Utilities for integrating with Vivado
"""

from __future__ import print_function
from subprocess import check_call
from os import makedirs
from os.path import abspath, join, dirname, exists, basename
Expand Down

0 comments on commit 721bb6a

Please sign in to comment.