SHA256
1
0
forked from pool/httpie

Accepting request 765777 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/765777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-01-20 21:56:37 +00:00 committed by Git OBS Bridge
commit 7e5fd2fea4
5 changed files with 41 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ecfb1ecdfd1468100bd9ffecebe1bea6d7d72c72149ea91f3d0112dc8ef03c7a
size 1745537

3
httpie-2.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92ebdced5620ab56fd9f24e494c7c97eb0afee0f03a55bee41f773395c59dc5c
size 1752529

View File

@ -1,15 +1,15 @@
diff --git a/setup.py b/setup.py
index 3cb04c8..50075b3 100644
index 4392270..2d18d38 100644
--- a/setup.py
+++ b/setup.py
@@ -35,8 +35,8 @@ tests_require = [
install_requires = [
- 'requests>=2.21.0',
- 'Pygments>=2.3.1'
+ 'requests>=2.20.0',
+ 'Pygments>=2.2.0'
- 'requests>=2.22.0',
- 'Pygments>=2.5.2',
+ 'requests>=2.21.0',
+ 'Pygments>=2.3.1',
]

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Sun Jan 12 10:25:17 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.0.0
* Removed Python 2.7 support (Python 3.6+ is now required).
* Added --offline to allow building an HTTP request and printing
it but not actually sending it over the network.
* Replaced the old collect-all-then-process handling of HTTP
communication with one-by-one processing of each HTTP request
or response as they become available. This means that you can
see headers immediately, see what is being send even when the
request fails, etc.
* Removed automatic config file creation to avoid concurrency
issues.
* Removed the default 30-second connection --timeout limit.
* Removed Pythons default limit of 100 response headers.
* Added --max-headers to allow setting the max header limit.
* Added --compress to allow request body compression.
* Added --ignore-netrc to allow bypassing credentials from
.netrc.
* Added https alias command with https:// as the default scheme.
* Added $ALL_PROXY documentation.
* Added type annotations throughout the codebase.
* Added tests/ to the PyPi package for the convenience of
downstream package maintainers.
* Fixed an error when stdin was a closed fd.
* Improved --debug output formatting.
- Update patch:
* httpie-adjust-requirements.patch
-------------------------------------------------------------------
Sun Dec 22 16:32:41 UTC 2019 - Martin Hauke <mardnh@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package httpie
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: httpie
Version: 1.0.3
Version: 2.0.0
Release: 0
Summary: CLI, cURL-like tool for humans
License: BSD-3-Clause
@ -77,6 +77,7 @@ export LC_CTYPE=en_US.UTF-8
%doc AUTHORS.rst CHANGELOG.rst README.rst
%license LICENSE
%python3_only %{_bindir}/http
%python3_only %{_bindir}/https
%{python_sitelib}/*
%{_mandir}/man1/http.1%{ext_man}