Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit567c892

Browse files
committed
rebase with dropped 3.5
1 parent90f0fb8 commit567c892

File tree

8 files changed

+9
-37
lines changed

8 files changed

+9
-37
lines changed

‎.appveyor.yml

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,12 @@ environment:
66
CYGWIN64_GIT_PATH:"C:\\cygwin64\\bin;%GIT_DAEMON_PATH%"
77

88
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%"
159
-PYTHON:"C:\\Python36-x64"
1610
PYTHON_VERSION:"3.6"
1711
GIT_PATH:"%GIT_DAEMON_PATH%"
1812
-PYTHON:"C:\\Python37-x64"
1913
PYTHON_VERSION:"3.7"
2014
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%"
3215

3316
matrix:
3417
allow_failures:
@@ -76,18 +59,10 @@ install:
7659
build:false
7760

7861
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
8863

8964
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)
9166

9267
# Enable this to be able to login to the build worker. You can use the
9368
# `remmina` program in Ubuntu, use the login information that the line below

‎.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on:ubuntu-latest
1616
strategy:
1717
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]
1919

2020
steps:
2121
-uses:actions/checkout@v2

‎.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
language:python
33
python:
44
-"3.4"
5-
-"3.5"
65
-"3.6"
76
-"3.7"
87
-"3.8"
@@ -38,7 +37,7 @@ script:
3837
-ulimit -n
3938
-coverage run --omit="test/*" -m unittest --buffer
4039
-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
4241
-if [ "$TRAVIS_PYTHON_VERSION" == '3.6' ]; then flake8 --ignore=W293,E265,E266,W503,W504,E731; fi
4342
after_success:
4443
-codecov

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If it is not in your `PATH`, you can help GitPython find it by setting
3434
the`GIT_PYTHON_GIT_EXECUTABLE=<path/to/git>` environment variable.
3535

3636
* Git (1.7.x or newer)
37-
* Python >= 3.5
37+
* Python >= 3.6
3838

3939
The list of dependencies are listed in`./requirements.txt` and`./test-requirements.txt`.
4040
The installer takes care of installing them for you.

‎doc/source/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The object database implementation is optimized for handling large quantities of
1313
Requirements
1414
============
1515

16-
* `Python`_ >= 3.5
16+
* `Python`_ >= 3.6
1717
* `Git`_ 1.7.0 or newer
1818
It should also work with older versions, but it may be that some operations
1919
involving remotes will not work as expected.

‎git/cmd.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ def dashify(string: str) -> str:
150150

151151

152152
defslots_to_dict(self,exclude:Sequence[str]= ())->Dict[str,Any]:
153-
# annotate self.__slots__ as Tuple[str, ...] once 3.5 dropped
154153
return {s:getattr(self,s)forsinself.__slots__ifsnotinexclude}
155154

156155

@@ -462,7 +461,7 @@ class CatFileContentStream(object):
462461
If not all data is read to the end of the objects's lifetime, we read the
463462
rest to assure the underlying stream continues to work"""
464463

465-
__slots__= ('_stream','_nbr','_size')
464+
__slots__:Tuple[str, ...]= ('_stream','_nbr','_size')
466465

467466
def__init__(self,size:int,stream:IO[bytes])->None:
468467
self._stream=stream

‎git/repo/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def iter_trees(self, *args: Any, **kwargs: Any) -> Iterator['Tree']:
519519
:note: Takes all arguments known to iter_commits method"""
520520
return (c.treeforcinself.iter_commits(*args,**kwargs))
521521

522-
deftree(self,rev:Union['Commit','Tree',None]=None)->'Tree':
522+
deftree(self,rev:Union['Commit','Tree',str,None]=None)->'Tree':
523523
"""The Tree object for the given treeish revision
524524
Examples::
525525

‎setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def build_py_modules(basedir, excludes=[]):
9999
include_package_data=True,
100100
py_modules=build_py_modules("./git",excludes=["git.ext.*"]),
101101
package_dir={'git':'git'},
102-
python_requires='>=3.5',
102+
python_requires='>=3.6',
103103
install_requires=requirements,
104104
tests_require=requirements+test_requirements,
105105
zip_safe=False,
@@ -123,7 +123,6 @@ def build_py_modules(basedir, excludes=[]):
123123
"Operating System :: MacOS :: MacOS X",
124124
"Programming Language :: Python",
125125
"Programming Language :: Python :: 3",
126-
"Programming Language :: Python :: 3.5",
127126
"Programming Language :: Python :: 3.6",
128127
"Programming Language :: Python :: 3.7",
129128
"Programming Language :: Python :: 3.8",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp