Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
GitPython: Autospec creation for update from version 3.1.18 to versio…
Browse files Browse the repository at this point in the history
…n 3.1.23

David Hotham (1):
      Fix typing of Head.create_head

Dominic (79):
      Import typevar in util.py
      flake8 fix
      fix typo
      another typo
      Add files via upload
      Add files via upload
      Update test-requirements.txt
      Update test_pytest.yml
      Update and rename test_pytest.yml to Future.yml
      Delete Future.yml
      Update pythonpackage.yml
      Update dev-requirements.txt
      Update tox.ini
      Update setup.py
      Rename dev-requirements.txt to requirements-dev.txt
      Update pythonpackage.yml
      Update pythonpackage.yml
      Update test-requirements.txt
      Update pythonpackage.yml
      Add pytests args
      Update pythonpackage.yml
      Update pythonpackage.yml
      rmv tox from test-requirements.txt
      Delete tox.ini
      Delete mypy.ini
      Delete .coveragerc
      Create pyproject.toml
      Create .flake8
      Delete .codeclimate.yml
      Delete .deepsource.toml
      Update pshinx versions in docs/reqs.txt
      Update conf.py
      Update requirements-dev.txt
      Update pythonpackage.yml
      Update .flake8
      Update pyproject.toml
      Add mypy to test-requirements.txt
      Add mypy to test-requirements.txt
      Add sphinx-autodoc-typehints
      Update README.md
      Update README.md
      Update README.md
      update typing-extensions to 3.10.0
      re-add package data for py.typed
      fix find_packages()
      Rmv EZ_setup from setup.py
      Add build system to pyproject.toml
      Update requirements.txt
      Update util.py
      Update util.py
      Update base.py
      Update test_refs.py
      Update test_refs.py
      Update config.py
      Update tag.py
      Update head.py
      Update head.py
      Update head.py
      Update reference.py
      update types commit.py
      update types submodule/base.py
      update types submodule/root.py
      update types sybmbolic.py
      rvrt symbolic.py types
      Update symbolic.py
      Update symbolic.py
      Rvrt types of symbolic.py that were breaking pytest
      Add overload to get_value()
      Update pythonpackage.yml
      Update pythonpackage.yml
      Update setup.py
      Update pythonpackage.yml
      Update pythonpackage.yml
      Update pythonpackage.yml
      Update setup.py
      Update setup.py
      Update setup.py
      Update changes.rst
      Update changes.rst

Eric Wieser (8):
      Do not call get_user_id if it is not needed
      Fix mypy
      Update config.py
      Fix trailing whitespace and incorrect overload
      Use get instead of get_value
      Fix test
      Try a better test
      Update test_util.py

Igor Lakhtenkov (2):
      Added clone multi_options to Submodule
      Added support of spaces for clone multi_options

Kai Mueller (1):
      Add flake8-typing-imports

Max Fan (2):
      Fix exsit typo
      Add missing article to error message

Michael Käufl (1):
      Fix link to latest changelog

Michael Mulich (1):
      Use the Git class type definition within Repo classmethods

Sebastian Thiel (16):
      Run actions on main branch
      remove duplication
      Remove accidental file and assure they don't come back
      Remove docker and appveyor configuration files
      put badges (also) upfront
      Make development status clearer
      prepare patch release
      prepare next patch release
      fix docs
      More specific version check for ordered dict type
      Revert "More specific version check for ordered dict type"
      Don't fail on import if the working dir isn't valid (#1319)
      overhaul CONTIRIBUTING.md
      Assure CWD is readable after acquiring it
      bump version
      Fix version discrepancy

Yobmod (225):
      Update typing-extensions version in requirements.txt
      Update typing-extensions version in requirements.txt
      Add types to tree.Tree
      Make IterableList generic and update throughout
      Rename Iterable due to typing.Iterable. Add deprecation warning
      Make Iterable deprecation warning on subclassing
      fix an import
      fix indent
      update docstring
      update some TBDs to configparser
      Add typedDict
      Add T_Tre_cache TypeVar
      forward ref Gitconfigparser
      Import TypeGuard to replace casts
      Update typing-extensions dependancy to <py3.10 for typeguard
      Add asserts and casts for T_Tree_cache
      Add is_flatLiteral() Typeguard[] to remote.py
      fix assert
      Add '?' to controlcharacter literal
      replace cast()s with asserts in remote.py
      replace cast()s with asserts in fun.py
      trigger checks to rurun
      Add type to submodule to trigger checks to rurun
      move py.typed from setup.py to MANIFEST.INI
      Type Traversable.traverse() better, start types of submodule
      rmv github squashed commit file
      Type Tree.traverse() better
      Type Traversable/list_traverse() better, make IterablleObj a protocol
      Fix forward ref
      Put protocol behind py version check
      Flake 8 fix
      Add missed types to Commit, uncomment to_native_path_linux()
      Make Commit.message bytes | str
      Improve typing of config_levels, add assert_never()
      Fix IndexFile forwardref
      put typing_extensions.get_types() behind python version guard
      fix is_config_level for < 3.8
      Rmv is_config_level() and get_args(), not worth the trouble
      Add Literal_config_levels.__args__
      Improve BlameEntry.commit typing
      Add types to submodule.util.py
      Make bytesIO forwardref
      Add types to submodule.root.py
      Add types to submodule.update()
      Improve types of @unbare_repo and @git_working_dir decorators
      Improve types of diff.py
      Improve types of diff.py
      Add cast(Repo, mrepo) in try block
      Fix Literal Typeguards
      Fix for mrepo
      Fix for mrepo2
      Rmv runtime_checkable < py3.8
      Rmv runtime_checkable < py3.8 pt2
      Rmv root.py types
      Rmv base.py types
      Rmv submodule types
      Rmv submodule types2
      Rmv diff typeguard
      Re-add submodule.util.py types
      Fix submodule.util.py types
      Readd typeguard to Diff.py
      Readd submodule.base.py types
      Make subodule a forward ref in Index.base
      Make subodule a forward ref in Index.base2
      Make Repo a forward ref in Submodule.base
      Make subodule a forward ref in Index.base3
      UnMake subodule a forward ref in Index.base
      UnMake subodule a forward ref in Index.base2
      Type index _items_to_rela_paths()
      Check change_levels (should fail)
      Add 'U' to change_levels (should pass)
      Make diff.DiffIndex generic List['Diff']
      Increase mypy strictness (no_implicit_optional & warn_redundant_casts) and fix errors
      Finish initial typing of index folder
      Mak GitCmdObjectDB a froward ref
      Mak EntryTup a froward ref
      Mmmmm
      Mmmmmm
      Fix traverse_trees_recursive()
      Fix traverse_trees_recursive() again
      Use Tuple not tuple
      fix base,ours,theirs typing
      Change List to MutableSequence in fun.py _find_by_name()
      tests TraversableIterableObj typeguard
      improve TraversableIterableObj typeguard
      Rmv typeguard from list_traverse(), was wrong
      Change type of list_traverse() again.
      Add list_traverse() to Tree and TraversableIterableObj.
      Rmv circular import, create Has_id_attribute Protocol instead
      Fix list_traverse() docstring for Autodoc
      Make has_repo protocol runtime checkable and use in Diffable
      Flatten list_traverse()
      Move TraverseNT to global, cos mypy complained on testing
      Rmv submodule.base Repo assert
      Try to distinguation git.diff module from diff.Diff.diff and diff.Daffable.diff()
      Improve Diffable method typing
      Rmv Diffable assert, add Remoote.url property
      Add remote.url type
      Remove defsult_index decorator from diff() and do check within function. Breaks typechecking for some reason
      Make IndexFile and Diffable .diff() types agree
      Improve IndexFile_process_diff_args() to get checks to rerun
      Fix typing of index.fun.write_tree_from_cache()
      Use TreeCacheTup type alias throughout
      Make TreeCacheTup forward ref
      update types in types.py
      Add types to refs/tag.py
      Add types to refs/symbolic.py
      Add types to refs/remote.py
      Add types to refs/reference.py
      Add types to refs/log.py
      Add types to refs/head.py
      Make types in refs compatible with previous
      Make types in refs compatible with repo
      Make traversable and serilizable into protocols
      Make types in refs compatible with objects
      rmv python 3.5 checks from tests
      rmv redundant IOerror except
      Add flake8-bugbear and -comprehensions to test-requirements.txt
      Change remaining type comments to py3.6+ types
      update types in types.py
      Make pathlike a forward ref
      Add a cast to git.cmd _version_info
      Rmv old py2.7 __future__ imports
      Replace all Typeguard with cast, revert update to typing-extensions==3.10.0
      Use BaseIndexEntry named access in index/fun.py
      Rmv with_metaclass shim, make section constraint generic wrt its configparser type
      Readd with_metaclass shim
      change ordereddict to typing.ordereddict
      put ordereddict behind py version guard
      import ordereddict from types
      fix rdereddict, cannot subclass typing-extensiosn version
      Rmv with_metclass() shim again
      change ordereddict guard, add type: ignore
      Fix SymbolicReference reference typing
      Add another type ignore for Ordereddict
      Rmv py 3.10 check for typing.Ordereddict - its deprecated then, but will still work until 3.12
      Fix some SymbolicReference types
      Fix forwardref
      Fix more missing types in Symbolic.py
      Fix more missing types in Symbolic.py
      Fix more missing types in Symbolic.py.
      Fix more missing types in Symbolic.py, cos GuthubActions pytest stuck
      Rmv test file
      Fix more missing types in Symbolic.py, cos GuthubActions pytest stuck
      Try downgrading pip
      its not pip...
      try actions/runner-images#709 workaround
      Add type to symbolicreference.name()
      Add type to symbolicreference.iter_items()
      Add type to symbolicreference.rename()
      Add type to symbolicreference.__repr__()
      Add type to symbolicreference._get_ref_info()
      Add type to symbolicreference._get_packed_refs_path()
      Add type to symbolicreference.dereference_recursive()
      Add type to symbolicreference.dereference_recursive()
      Add type to symbolicreference()
      Add type to symbolicreference.get_()
      Add type to symbolicreference.is_remote()
      Add type to symbolicreference._create()
      Add type to symbolicreference.delete()
      Add type to symbolicreference.log_append()
      Add type to symbolicreference.is_valid()
      Add type to symbolicreference.set_reference()
      Add type to symbolicreference.set_object()
      cleanup
      Add type to symbolicreference.reference()
      Add type to symbolicreference.references()
      Add type to repo.base._to_full_tag_path
      Add type to refs.head.delete()
      Add type to refs.log._read_from_file()
      Add type to objects.base.new()
      Add final types to config.py
      Add set_dirty_and_flush_changes() types to config.py
      Add final types to commit.py
      Add final types to tree.py
      Add final types to submodule.py
      Add final types to cmd.py
      Add final types to index/fun.py
      Add final types to symbolic.py
      Add final final types to symbolic.py
      replace some TBDs wiht runtime types
      replace more TBDs wiht runtime types
      increase mypy strictness (warn unused ignored)
      increase mypy strictness (warn unused ignored and warn unreachable)
      rmv 3.6 from CI matrix
      rmv 3.6 from setup.py
      rmv 3.6 README
      Add __future__.annotations to cmd.py
      Add __future__.annotations to cmd.py2
      Fix parse_date typing
      Fix parse_date typing 2
      Fix parse_date typing 3
      Fix parse_date typing 4
      Fix parse_date typing 5
      Fix parse_date typing 6
      Fix parse_date typing 7
      Add __future__.annotations to repo/base.py
      Minor type fixes
      Test new union syntax (Pep604)
      Test trailing comma in args (>py3.6?)
      Test Dataclass in repo.base.blame()
      Test Dataclass in repo.base.blame() 2
      Test Dataclass in repo.base.blame() 3
      Test TypedDict in repo.base.blame() 2
      Test TypedDict in repo.base.blame() 1
      Test Dataclass in repo.base.blame() 4
      Test Dataclass in repo.base.blame() 5
      Test Dataclass in repo.base.blame() 6
      Choose TypedDict!
      Improve type of repo.blame_incremental()
      Improve type of repo.currently_rebasing_on()
      Add Typing :: Typed to setup.py
      add type check to conf_encoding (in thoery could be bool or int)
      type fix
      type fixo
      add pypy to test matrix
      update 3.10 to rc1 in test matrix
      try fix for Protocol buy in 3.10
      try fix for Protocol buy in 3.10 2
      try fix for Protocol buy in 3.10 3
      upgrade sphinx for 3.10 compat
      Update changelog and version
      Change CI to 3.10.0-beta.4, to get docs to pass
      Update changes.rst
      Change CI python 3.10 to rc1 again. Spinx broken either way

f100024 (1):
      Add encoding to utf-8 for fetch_info_lines;

yobmod (1):
      fix setup.py classifiers, improvefnmatchprocess handler types
  • Loading branch information
fenrus75 committed Sep 10, 2021
1 parent 1647d2e commit d09c484
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 19 deletions.
16 changes: 16 additions & 0 deletions GitPython-3.1.23.tar.gz.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE6vnM/NCHZAjyl8YKnLXueJXoJosFAmE6v4IACgkQnLXueJXo
Jot09hAAm8+4TGdlVIWrGLN4PAJCmy4JUbqfFEXKz5NXoOvLj1C2BxyhsSYaq5+V
lJbz8AvnfRDSRv+xxclErtRvFQ+GW2ygbOuEB4vT4/9b4PrJOKLf9oYst+C7RHtY
fTPxG9p9omBi5aoIX1mD2siKL3Nfcfm7XBBx4MqlchjFKHaO4Aqj2qNccl+2fIlR
rVFeK0wuGsrbGSjpZJRn58BsBFMY+By0Szybdt20vsea8VZsIflIl9wycH8+eHDp
0672FGmVJEvtvfEB+5UmqHZzp4snTWEiVB+7kmXN1Uy3IbNsVXSTYsUIMGDIgJZm
S4G28jdolPZ/WvvTIHfHo6pnHbwBZ+DlC9yEf+1ToYA8ItoIXLh20CZzFzZEPlh3
DuoURmBiYIbfSvN7XDzosJjRJfGKJ00vMUIijZflqdTc57RL3Dtnq3QkAl87joJo
aiBDKudZJ8zYO7b2w7eGXuHXB7nGL/L3WVXm+m02dAIjUw3FV6Jq9ZwM9Syc4u74
Dy0a5m7tj/XrhfFudSN3ImVGsrO+EFFm3+hOTtKDwCKsuGQAJdCSsNBc/n/pGDbE
xHvmUn7lNo2LZI9Dz8ozrKEnQy+pWscG2lY4TD/99nELP3/DBbhBralRTyYf4n/K
D88mIBf3JZlbEGCAXwWzD3FzoUgA5HYPhQvfQSVEtg79vgiZf9A=
=wBYP
-----END PGP SIGNATURE-----
28 changes: 14 additions & 14 deletions GitPython.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
# Source0 file verified with key 0x9CB5EE7895E8268B (sebastian.thiel@icloud.com)
#
Name : GitPython
Version : 3.1.18
Release : 70
URL : https://files.pythonhosted.org/packages/29/22/3d591875078c1c5e7e11b478616821995053968a74b76043c55448c46381/GitPython-3.1.18.tar.gz
Source0 : https://files.pythonhosted.org/packages/29/22/3d591875078c1c5e7e11b478616821995053968a74b76043c55448c46381/GitPython-3.1.18.tar.gz
Source1 : https://files.pythonhosted.org/packages/29/22/3d591875078c1c5e7e11b478616821995053968a74b76043c55448c46381/GitPython-3.1.18.tar.gz.asc
Summary : Python Git Library
Version : 3.1.23
Release : 71
URL : https://files.pythonhosted.org/packages/24/70/2709f2f08265ff9d09dbacadceef7d6b2756223e38aca3a0daf65f1fd301/GitPython-3.1.23.tar.gz
Source0 : https://files.pythonhosted.org/packages/24/70/2709f2f08265ff9d09dbacadceef7d6b2756223e38aca3a0daf65f1fd301/GitPython-3.1.23.tar.gz
Source1 : https://files.pythonhosted.org/packages/24/70/2709f2f08265ff9d09dbacadceef7d6b2756223e38aca3a0daf65f1fd301/GitPython-3.1.23.tar.gz.asc
Summary : GitPython is a python library used to interact with Git repositories
Group : Development/Tools
License : BSD-3-Clause
Requires: GitPython-license = %{version}-%{release}
Expand All @@ -21,10 +21,9 @@ BuildRequires : buildreq-distutils3
BuildRequires : gitdb

%description
## [Gitoxide](https://github.com/Byron/gitoxide): A peek into the future…
I started working on GitPython in 2009, back in the days when Python was 'my thing' and I had great plans with it.
Of course, back in the days, I didn't really know what I was doing and this shows in many places. Somewhat similar to
Python this happens to be 'good enough', but at the same time is deeply flawed and broken beyond repair.
![Python package](https://github.com/gitpython-developers/GitPython/workflows/Python%20package/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/gitpython/badge/?version=stable)](https://readthedocs.org/projects/gitpython/?badge=stable)
[![Packaging status](https://repology.org/badge/tiny-repos/python:gitpython.svg)](https://repology.org/metapackage/python:gitpython/versions)

%package license
Summary: license components for the GitPython package.
Expand All @@ -50,21 +49,22 @@ Group: Default
Requires: python3-core
Provides: pypi(gitpython)
Requires: pypi(gitdb)
Requires: pypi(typing_extensions)

%description python3
python3 components for the GitPython package.


%prep
%setup -q -n GitPython-3.1.18
cd %{_builddir}/GitPython-3.1.18
%setup -q -n GitPython-3.1.23
cd %{_builddir}/GitPython-3.1.23

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1627061422
export SOURCE_DATE_EPOCH=1631282104
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$FFLAGS -fno-lto "
Expand All @@ -77,7 +77,7 @@ python3 setup.py build
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/GitPython
cp %{_builddir}/GitPython-3.1.18/LICENSE %{buildroot}/usr/share/package-licenses/GitPython/98a91252d682790e518df3df5c68339d17ab7e47
cp %{_builddir}/GitPython-3.1.23/LICENSE %{buildroot}/usr/share/package-licenses/GitPython/98a91252d682790e518df3df5c68339d17ab7e47
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := GitPython
URL = https://files.pythonhosted.org/packages/29/22/3d591875078c1c5e7e11b478616821995053968a74b76043c55448c46381/GitPython-3.1.18.tar.gz
URL = https://files.pythonhosted.org/packages/24/70/2709f2f08265ff9d09dbacadceef7d6b2756223e38aca3a0daf65f1fd301/GitPython-3.1.23.tar.gz
ARCHIVES =

include ../common/Makefile.common
2 changes: 1 addition & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = GitPython
url = https://files.pythonhosted.org/packages/29/22/3d591875078c1c5e7e11b478616821995053968a74b76043c55448c46381/GitPython-3.1.18.tar.gz
url = https://files.pythonhosted.org/packages/24/70/2709f2f08265ff9d09dbacadceef7d6b2756223e38aca3a0daf65f1fd301/GitPython-3.1.23.tar.gz
archives =
giturl = https://github.com/gitpython-developers/GitPython.git
domain =
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
70
71
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3a179db70f352f61f0a53e2e64080f7f8fa36902/GitPython-3.1.18.tar.gz
d2fa0a5fa07ab07f8cabc98d0329527ab7da88f4/GitPython-3.1.23.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.18
3.1.23

0 comments on commit d09c484

Please sign in to comment.