Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
},
"typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version
"python.linting.enabled": false,
"python.testing.promptToConfigure": false,
"python.formatting.provider": "black",
"python.sortImports.args": ["--profile", "black"],
"typescript.preferences.quoteStyle": "single",
"javascript.preferences.quoteStyle": "single",
"typescriptHero.imports.stringQuoteStyle": "'",
Expand Down
27 changes: 0 additions & 27 deletions build/conda-functional-requirements.txt

This file was deleted.

25 changes: 9 additions & 16 deletions build/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,23 @@
# but flake8 has a tighter pinning.
flake8
autopep8
bandit ; python_version >= '3.5'
black ; python_version > '2.7'
bandit
black
yapf
pylint ; python_version > '2.7'
pylint
pycodestyle
pydocstyle
prospector>=1.6.0 ; python_version > '2.7'
pytest<7.0.0 ; python_version > '2.7'
prospector
pytest
flask
fastapi ; python_version > '2.7'
uvicorn ; python_version > '2.7'
fastapi
uvicorn
django
isort

# Integrated TensorBoard tests
tensorboard ; python_version > '2.7'
torch-tb-profiler ; python_version > '2.7'

# Python 2.7 support.
pytest==4.6.9 ; python_version == '2.7'
py==1.10.0 ; python_version == '2.7' # via pytest 4
pathlib2>=2.2.0 ; python_version == '2.7' # via pytest 4
prospector==1.2.0 ; python_version == '2.7'
wrapt==1.14.0 ; python_version == '2.7'
tensorboard
torch-tb-profiler

# extension build tests
freezegun
1 change: 1 addition & 0 deletions news/3 Code Health/19060.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update requirements to remove python 2.7 version restrictions.
2 changes: 2 additions & 0 deletions pythonFiles/testing_tools/adapter/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from io import StringIO
except ImportError:
from StringIO import StringIO # 2.7

import os
import os.path
import sys
Expand Down Expand Up @@ -63,6 +64,7 @@ def group_attr_names(attrnames):
BASENAME = _os_path.basename
IS_ABS_PATH = _os_path.isabs
PATH_JOIN = _os_path.join
ABS_PATH = _os_path.abspath


def fix_path(
Expand Down
Loading