| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,29 +6,12 @@ environment: | |||
| 6 | 6 | CYGWIN64_GIT_PATH: "C:\\cygwin64\\bin;%GIT_DAEMON_PATH%" | |
| 7 | 7 | ||
| 8 | 8 | matrix: | |
| 9 | - - PYTHON: "C:\\Python34-x64" | ||
| 10 | - PYTHON_VERSION: "3.4" | ||
| 11 | - GIT_PATH: "%GIT_DAEMON_PATH%" | ||
| 12 | - - PYTHON: "C:\\Python35-x64" | ||
| 13 | - PYTHON_VERSION: "3.5" | ||
| 14 | - GIT_PATH: "%GIT_DAEMON_PATH%" | ||
| 15 | 9 | - PYTHON: "C:\\Python36-x64" | |
| 16 | 10 | PYTHON_VERSION: "3.6" | |
| 17 | 11 | GIT_PATH: "%GIT_DAEMON_PATH%" | |
| 18 | 12 | - PYTHON: "C:\\Python37-x64" | |
| 19 | 13 | PYTHON_VERSION: "3.7" | |
| 20 | 14 | GIT_PATH: "%GIT_DAEMON_PATH%" | |
| 21 | - - PYTHON: "C:\\Miniconda35-x64" | ||
| 22 | - PYTHON_VERSION: "3.5" | ||
| 23 | - IS_CONDA: "yes" | ||
| 24 | - MAYFAIL: "yes" | ||
| 25 | - GIT_PATH: "%GIT_DAEMON_PATH%" | ||
| 26 | - ## Cygwin | ||
| 27 | - - PYTHON: "C:\\Python35-x64" | ||
| 28 | - PYTHON_VERSION: "3.5" | ||
| 29 | - IS_CYGWIN: "yes" | ||
| 30 | - MAYFAIL: "yes" | ||
| 31 | - GIT_PATH: "%CYGWIN64_GIT_PATH%" | ||
| 32 | 15 | ||
| 33 | 16 | matrix: | |
| 34 | 17 | allow_failures: | |
@@ -76,18 +59,10 @@ install: | |||
| 76 | 59 | build: false | |
| 77 | 60 | ||
| 78 | 61 | test_script: | |
| 79 | - - IF "%IS_CYGWIN%" == "yes" ( | ||
| 80 | - nosetests -v | ||
| 81 | - ) ELSE ( | ||
| 82 | - IF "%PYTHON_VERSION%" == "3.5" ( | ||
| 83 | - nosetests -v --with-coverage | ||
| 84 | - ) ELSE ( | ||
| 85 | - nosetests -v | ||
| 86 | - ) | ||
| 87 | - ) | ||
| 62 | + - nosetests -v | ||
| 88 | 63 | ||
| 89 | 64 | on_success: | |
| 90 | - - IF "%PYTHON_VERSION%" == "3.5" IF NOT "%IS_CYGWIN%" == "yes" (codecov) | ||
| 65 | + - IF "%PYTHON_VERSION%" == "3.6" IF NOT "%IS_CYGWIN%" == "yes" (codecov) | ||
| 91 | 66 | ||
| 92 | 67 | # Enable this to be able to login to the build worker. You can use the | |
| 93 | 68 | # `remmina` program in Ubuntu, use the login information that the line below | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ jobs: | |||
| 15 | 15 | runs-on: ubuntu-latest | |
| 16 | 16 | strategy: | |
| 17 | 17 | matrix: | |
| 18 | - python-version: [3.5, 3.6, 3.7, 3.8, 3.9] | ||
| 18 | + python-version: [3.6, 3.7, 3.8, 3.9] | ||
| 19 | 19 | ||
| 20 | 20 | steps: | |
| 21 | 21 | - uses: actions/checkout@v2 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,6 @@ | |||
| 2 | 2 | language: python | |
| 3 | 3 | python: | |
| 4 | 4 | - "3.4" | |
| 5 | - - "3.5" | ||
| 6 | 5 | - "3.6" | |
| 7 | 6 | - "3.7" | |
| 8 | 7 | - "3.8" | |
@@ -38,7 +37,7 @@ script: | |||
| 38 | 37 | - ulimit -n | |
| 39 | 38 | - coverage run --omit="test/*" -m unittest --buffer | |
| 40 | 39 | - coverage report | |
| 41 | - - if [ "$TRAVIS_PYTHON_VERSION" == '3.5' ]; then cd doc && make html; fi | ||
| 40 | + - if [ "$TRAVIS_PYTHON_VERSION" == '3.6' ]; then cd doc && make html; fi | ||
| 42 | 41 | - if [ "$TRAVIS_PYTHON_VERSION" == '3.6' ]; then flake8 --ignore=W293,E265,E266,W503,W504,E731; fi | |
| 43 | 42 | after_success: | |
| 44 | 43 | - codecov | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,7 +34,7 @@ If it is not in your `PATH`, you can help GitPython find it by setting | |||
| 34 | 34 | the `GIT_PYTHON_GIT_EXECUTABLE=<path/to/git>` environment variable. | |
| 35 | 35 | ||
| 36 | 36 | * Git (1.7.x or newer) | |
| 37 | - * Python >= 3.5 | ||
| 37 | + * Python >= 3.6 | ||
| 38 | 38 | ||
| 39 | 39 | The list of dependencies are listed in `./requirements.txt` and `./test-requirements.txt`. | |
| 40 | 40 | The installer takes care of installing them for you. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ The object database implementation is optimized for handling large quantities of | |||
| 13 | 13 | Requirements | |
| 14 | 14 | ============ | |
| 15 | 15 | ||
| 16 | - * `Python`_ >= 3.5 | ||
| 16 | + * `Python`_ >= 3.6 | ||
| 17 | 17 | * `Git`_ 1.7.0 or newer | |
| 18 | 18 | It should also work with older versions, but it may be that some operations | |
| 19 | 19 | involving remotes will not work as expected. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -150,7 +150,6 @@ def dashify(string: str) -> str: | |||
| 150 | 150 | ||
| 151 | 151 | ||
| 152 | 152 | def slots_to_dict(self, exclude: Sequence[str] = ()) -> Dict[str, Any]: | |
| 153 | - # annotate self.__slots__ as Tuple[str, ...] once 3.5 dropped | ||
| 154 | 153 | return {s: getattr(self, s) for s in self.__slots__ if s not in exclude} | |
| 155 | 154 | ||
| 156 | 155 | ||
@@ -462,7 +461,7 @@ class CatFileContentStream(object): | |||
| 462 | 461 | If not all data is read to the end of the objects's lifetime, we read the | |
| 463 | 462 | rest to assure the underlying stream continues to work""" | |
| 464 | 463 | ||
| 465 | - __slots__ = ('_stream', '_nbr', '_size') | ||
| 464 | + __slots__: Tuple[str, ...] = ('_stream', '_nbr', '_size') | ||
| 466 | 465 | ||
| 467 | 466 | def __init__(self, size: int, stream: IO[bytes]) -> None: | |
| 468 | 467 | self._stream = stream | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -519,7 +519,7 @@ def iter_trees(self, *args: Any, **kwargs: Any) -> Iterator['Tree']: | |||
| 519 | 519 | :note: Takes all arguments known to iter_commits method""" | |
| 520 | 520 | return (c.tree for c in self.iter_commits(*args, **kwargs)) | |
| 521 | 521 | ||
| 522 | - def tree(self, rev: Union['Commit', 'Tree', None] = None) -> 'Tree': | ||
| 522 | + def tree(self, rev: Union['Commit', 'Tree', str, None] = None) -> 'Tree': | ||
| 523 | 523 | """The Tree object for the given treeish revision | |
| 524 | 524 | Examples:: | |
| 525 | 525 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -99,7 +99,7 @@ def build_py_modules(basedir, excludes=[]): | |||
| 99 | 99 | include_package_data=True, | |
| 100 | 100 | py_modules=build_py_modules("./git", excludes=["git.ext.*"]), | |
| 101 | 101 | package_dir={'git': 'git'}, | |
| 102 | - python_requires='>=3.5', | ||
| 102 | + python_requires='>=3.6', | ||
| 103 | 103 | install_requires=requirements, | |
| 104 | 104 | tests_require=requirements + test_requirements, | |
| 105 | 105 | zip_safe=False, | |
@@ -123,7 +123,6 @@ def build_py_modules(basedir, excludes=[]): | |||
| 123 | 123 | "Operating System :: MacOS :: MacOS X", | |
| 124 | 124 | "Programming Language :: Python", | |
| 125 | 125 | "Programming Language :: Python :: 3", | |
| 126 | - "Programming Language :: Python :: 3.5", | ||
| 127 | 126 | "Programming Language :: Python :: 3.6", | |
| 128 | 127 | "Programming Language :: Python :: 3.7", | |
| 129 | 128 | "Programming Language :: Python :: 3.8", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments