Hello community, here is the log from the commit of package python-josepy for openSUSE:Factory checked in at 2019-07-26 12:39:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-josepy (Old) and /work/SRC/openSUSE:Factory/.python-josepy.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-josepy" Fri Jul 26 12:39:56 2019 rev:5 rq:718287 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-josepy/python-josepy.changes 2019-02-02 21:49:14.707981034 +0100 +++ /work/SRC/openSUSE:Factory/.python-josepy.new.4126/python-josepy.changes 2019-07-26 12:39:59.901920948 +0200 @@ -1,0 +2,7 @@ +Wed Jul 24 13:33:16 UTC 2019 - [email protected] + +- version update to 1.2.0 + * Support for Python 2.6 and 3.3 has been removed. + * Known incompatibilities with Python 3.8 have been resolved. + +------------------------------------------------------------------- Old: ---- josepy-1.1.0.tar.gz josepy-1.1.0.tar.gz.asc New: ---- josepy-1.2.0.tar.gz josepy-1.2.0.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-josepy.spec ++++++ --- /var/tmp/diff_new_pack.cOJeDK/_old 2019-07-26 12:40:00.481920610 +0200 +++ /var/tmp/diff_new_pack.cOJeDK/_new 2019-07-26 12:40:00.481920610 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define libname josepy Name: python-%{libname} -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: JOSE protocol implementation in Python License: Apache-2.0 ++++++ josepy-1.1.0.tar.gz -> josepy-1.2.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/.travis.yml new/josepy-1.2.0/.travis.yml --- old/josepy-1.1.0/.travis.yml 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/.travis.yml 2019-06-29 01:28:21.000000000 +0200 @@ -1,13 +1,14 @@ language: python sudo: false cache: pip -python: - - "2.6" - - "2.7" - - "3.3" - - "3.4" - - "3.5" - - "3.6" +dist: xenial +matrix: + include: + - python: "2.7" + - python: "3.4" + - python: "3.5" + - python: "3.6" + - python: "3.7" install: - pip install tox-travis codecov script: @@ -16,3 +17,13 @@ - codecov notifications: email: false + irc: + channels: + # This is set to a secure variable to prevent forks from sending + # notifications. This value was created by installing + # https://github.com/travis-ci/travis.rb and running + # `travis encrypt "chat.freenode.net#certbot-devel"`. + - secure: "JDbizbq58cmpQ3hbq9/PT4V0mns9jJ9oa/fF9P/e3raZkqm3APDcfVx79QiIDXShFsy4DYYZDTTPn4yuGhzX29Wo5z0ncWmMaPJP1+BnKxgh1Zit8TcG0doFXjc5A3RRXAEYRkb4ffwJtmWor/hN8fRwFFivg6yH/54I/XWUT12/nlXaMG+hygndkI9Rmg9REVd4/sScBR25xBh6bkTcG/szMZugpvJeZsbjjxaXrZxo2270wvdiUHGaGffgEVhCHuMMN8bs/5qeM1GMGohQVwqXciBZKUJ51C3YQl61O09SoJxPOjvik+6Os2iiQBkMmKiPTLpvpeXZMDVXM3tVUiLHckmSnuT6FHI4lmpNl0/qPGGlmvNL7PeUuZ+Mcry8meeSwM/3nYSAp4UZC4lojiR221fHIQiT67yUOAYxyaDoTs33QWQT8VE1FkY81DBB+pdcm2E1pgzfTLLTvprEZL+vabVr2ayvvQnTnTg8FKkulLFYDu0IZ2e68+TDULLkPfEUTQMVxq1Xv5cBza1USnF/Mee3x3I8niiHEaC2fDuNRENdQv6hMqcocHy7QiWTPACI/PJjO1CuYfN0QPpuHemxxyZSLrLy7kAnmmcMgUGCnorWcruc53FImsSZzFVAwe8th2iFgHKDPjlWFwB9xjCfgzNpGal85q8S6dVex1E=" + on_cancel: never + on_success: never + on_failure: always diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/CHANGELOG.rst new/josepy-1.2.0/CHANGELOG.rst --- old/josepy-1.1.0/CHANGELOG.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/josepy-1.2.0/CHANGELOG.rst 2019-06-29 01:28:21.000000000 +0200 @@ -0,0 +1,27 @@ +Changelog +========= + +1.2.0 (2019-06-28) +------------------ + +* Support for Python 2.6 and 3.3 has been removed. +* Known incompatibilities with Python 3.8 have been resolved. + +1.1.0 (2018-04-13) +------------------ + +* Deprecated support for Python 2.6 and 3.3. +* Use the ``sign`` and ``verify`` methods when they are available in + ``cryptography`` instead of the deprecated methods ``signer`` and + ``verifier``. + +1.0.1 (2017-10-25) +------------------ + +Stop installing mock as part of the default but only as part of the +testing dependencies. + +1.0.0 (2017-10-13) +------------------- + +First release after moving the josepy package into a standalone library. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/CONTRIBUTING.md new/josepy-1.2.0/CONTRIBUTING.md --- old/josepy-1.1.0/CONTRIBUTING.md 1970-01-01 01:00:00.000000000 +0100 +++ new/josepy-1.2.0/CONTRIBUTING.md 2019-06-29 01:28:21.000000000 +0200 @@ -0,0 +1,35 @@ +<!--- + +This file serves as an entry point for GitHub's Contributing +Guidelines [1] only. + +GitHub doesn't render rST very well, especially in respect to internal +hyperlink targets and cross-references [2]. People also tend to +confuse rST and Markdown syntax. Therefore, instead of keeping the +contents here (and including from rST documentation under doc/), link +to the Sphinx generated docs is provided below. + + +[1] https://github.com/blog/1184-contributing-guidelines +[2] http://docutils.sourceforge.net/docs/user/rst/quickref.html#hyperlink-targets + +--> + +# Certbot Contributing Guide + +Hi! Welcome to the Certbot project. We look forward to collaborating with you. + +If you're reporting a bug in Certbot, please make sure to include: + - The version of Certbot you're running. + - The operating system you're running it on. + - The commands you ran. + - What you expected to happen, and + - What actually happened. + +If you're a developer, we have some helpful information in our +[Developer's Guide](https://certbot.eff.org/docs/contributing.html) to get you +started. In particular, we recommend you read these sections + + - [Finding issues to work on](https://certbot.eff.org/docs/contributing.html#find-issues-to-work-on) + - [Coding style](https://certbot.eff.org/docs/contributing.html#coding-style) + - [Submitting a pull request](https://certbot.eff.org/docs/contributing.html#submitting-a-pull-request) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/MANIFEST.in new/josepy-1.2.0/MANIFEST.in --- old/josepy-1.1.0/MANIFEST.in 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/MANIFEST.in 2019-06-29 01:28:21.000000000 +0200 @@ -1,3 +1,5 @@ +include CHANGELOG.rst +include CONTRIBUTING.md include LICENSE.txt include README.rst include .coveragerc .travis.yml pytest.ini tox.ini diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/PKG-INFO new/josepy-1.2.0/PKG-INFO --- old/josepy-1.1.0/PKG-INFO 2018-04-13 16:48:03.000000000 +0200 +++ new/josepy-1.2.0/PKG-INFO 2019-06-29 01:28:25.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: josepy -Version: 1.1.0 +Version: 1.2.0 Summary: JOSE protocol implementation in Python Home-page: https://github.com/certbot/josepy Author: Certbot Project @@ -8,8 +8,8 @@ License: Apache License 2.0 Description: JOSE protocol implementation in Python using cryptography - .. image:: https://travis-ci.org/certbot/josepy.svg?branch=master - :target: https://travis-ci.org/certbot/josepy + .. image:: https://travis-ci.com/certbot/josepy.svg?branch=master + :target: https://travis-ci.com/certbot/josepy .. image:: https://codecov.io/gh/certbot/josepy/branch/master/graph/badge.svg :target: https://codecov.io/gh/certbot/josepy @@ -27,15 +27,16 @@ Classifier: License :: OSI Approved :: Apache Software License Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Topic :: Internet :: WWW/HTTP Classifier: Topic :: Security +Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* +Provides-Extra: dev3 Provides-Extra: docs Provides-Extra: tests Provides-Extra: dev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/README.rst new/josepy-1.2.0/README.rst --- old/josepy-1.1.0/README.rst 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/README.rst 2019-06-29 01:28:21.000000000 +0200 @@ -1,7 +1,7 @@ JOSE protocol implementation in Python using cryptography -.. image:: https://travis-ci.org/certbot/josepy.svg?branch=master - :target: https://travis-ci.org/certbot/josepy +.. image:: https://travis-ci.com/certbot/josepy.svg?branch=master + :target: https://travis-ci.com/certbot/josepy .. image:: https://codecov.io/gh/certbot/josepy/branch/master/graph/badge.svg :target: https://codecov.io/gh/certbot/josepy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/docs/conf.py new/josepy-1.2.0/docs/conf.py --- old/josepy-1.1.0/docs/conf.py 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/docs/conf.py 2019-06-29 01:28:21.000000000 +0200 @@ -63,9 +63,9 @@ # built documents. # # The short X.Y version. -version = u'1.1' +version = u'1.2' # The full version, including alpha/beta/rc tags. -release = u'1.1.0' +release = u'1.2.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/pytest.ini new/josepy-1.2.0/pytest.ini --- old/josepy-1.1.0/pytest.ini 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/pytest.ini 2019-06-29 01:28:21.000000000 +0200 @@ -1,4 +1,4 @@ [pytest] addopts = -v --flake8 --cov-report xml --cov-report=term-missing --cov=josepy --cov-config .coveragerc norecursedirs = *.egg .eggs dist build docs .tox -flake8-ignore = E501 +flake8-ignore = W504 E501 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/setup.py new/josepy-1.2.0/setup.py --- old/josepy-1.1.0/setup.py 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/setup.py 2019-06-29 01:28:21.000000000 +0200 @@ -4,7 +4,7 @@ from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand -version = '1.1.0' +version = '1.2.0' # Please update tox.ini when modifying dependency version requirements install_requires = [ @@ -29,18 +29,16 @@ 'mock', ] -# env markers cause problems with older pip and setuptools -if sys.version_info < (2, 7): - install_requires.extend([ - 'argparse', - 'ordereddict', - ]) - dev_extras = [ 'pytest', 'tox', ] +dev3_extras = [ + 'mypy', + 'typing', # for python3.4 +] + docs_extras = [ 'Sphinx>=1.0', # autodoc_member_order = 'bysource', autodoc_default_flags 'sphinx_rtd_theme', @@ -75,19 +73,19 @@ author="Certbot Project", author_email='[email protected]', license='Apache License 2.0', + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Security', ], @@ -98,6 +96,7 @@ install_requires=install_requires, extras_require={ 'dev': dev_extras, + 'dev3': dev3_extras, 'docs': docs_extras, 'tests': testing_requires, }, @@ -107,6 +106,7 @@ ], }, tests_require=testing_requires, + test_suite='josepy', cmdclass={ 'test': PyTest, }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/src/josepy/__init__.py new/josepy-1.2.0/src/josepy/__init__.py --- old/josepy-1.1.0/src/josepy/__init__.py 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/src/josepy/__init__.py 2019-06-29 01:28:21.000000000 +0200 @@ -25,9 +25,6 @@ .. _ACME: https://pypi.python.org/pypi/acme """ -import sys -import warnings - # flake8: noqa from josepy.b64 import ( b64decode, @@ -87,11 +84,3 @@ ComparableRSAKey, ImmutableMap, ) - -for (major, minor) in [(2, 6), (3, 3)]: - if sys.version_info[:2] == (major, minor): - warnings.warn( - "Python {0}.{1} support will be dropped in the next release of " - "josepy. Please upgrade your Python version.".format(major, minor), - DeprecationWarning, - ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/src/josepy/interfaces.py new/josepy-1.2.0/src/josepy/interfaces.py --- old/josepy-1.1.0/src/josepy/interfaces.py 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/src/josepy/interfaces.py 2019-06-29 01:28:21.000000000 +0200 @@ -1,12 +1,16 @@ """JOSE interfaces.""" import abc -import collections import json import six from josepy import errors, util +try: + from collections.abc import Sequence, Mapping # pylint: disable=import-error +except ImportError: + from collections import Sequence, Mapping + # pylint: disable=no-self-argument,no-method-argument,no-init,inherit-non-class # pylint: disable=too-few-public-methods @@ -139,11 +143,11 @@ return obj elif isinstance(obj, list): return [_serialize(subobj) for subobj in obj] - elif isinstance(obj, collections.Sequence): + elif isinstance(obj, Sequence): # default to tuple, otherwise Mapping could get # unhashable list return tuple(_serialize(subobj) for subobj in obj) - elif isinstance(obj, collections.Mapping): + elif isinstance(obj, Mapping): return dict((_serialize(key), _serialize(value)) for key, value in six.iteritems(obj)) else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/src/josepy/jwa.py new/josepy-1.2.0/src/josepy/jwa.py --- old/josepy-1.1.0/src/josepy/jwa.py 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/src/josepy/jwa.py 2019-06-29 01:28:21.000000000 +0200 @@ -4,7 +4,6 @@ """ import abc -import collections import logging import cryptography.exceptions @@ -15,6 +14,11 @@ from josepy import errors, interfaces, jwk +try: + from collections.abc import Hashable # pylint: disable=import-error +except ImportError: + from collections import Hashable + logger = logging.getLogger(__name__) @@ -25,7 +29,7 @@ """JSON Web Algorithm.""" -class JWASignature(JWA, collections.Hashable): # type: ignore +class JWASignature(JWA, Hashable): # type: ignore """Base class for JSON Web Signature Algorithms.""" SIGNATURES = {} # type: dict diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/src/josepy/magic_typing.py new/josepy-1.2.0/src/josepy/magic_typing.py --- old/josepy-1.1.0/src/josepy/magic_typing.py 1970-01-01 01:00:00.000000000 +0100 +++ new/josepy-1.2.0/src/josepy/magic_typing.py 2019-06-29 01:28:21.000000000 +0200 @@ -0,0 +1,15 @@ +"""Shim class to not have to depend on typing module in prod.""" +import sys + + +class TypingClass(object): + """Ignore import errors by getting anything""" + def __getattr__(self, name): + return None + + +try: + # mypy doesn't respect modifying sys.modules + from typing import * # noqa: F401,F403 +except ImportError: + sys.modules[__name__] = TypingClass() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/src/josepy/magic_typing_test.py new/josepy-1.2.0/src/josepy/magic_typing_test.py --- old/josepy-1.1.0/src/josepy/magic_typing_test.py 1970-01-01 01:00:00.000000000 +0100 +++ new/josepy-1.2.0/src/josepy/magic_typing_test.py 2019-06-29 01:28:21.000000000 +0200 @@ -0,0 +1,41 @@ +"""Tests for josepy.magic_typing.""" +import sys +import unittest + +import mock + + +class MagicTypingTest(unittest.TestCase): + """Tests for josepy.magic_typing.""" + def test_import_success(self): + try: + import typing as temp_typing + except ImportError: # pragma: no cover + temp_typing = None # pragma: no cover + typing_class_mock = mock.MagicMock() + text_mock = mock.MagicMock() + typing_class_mock.Text = text_mock + sys.modules['typing'] = typing_class_mock + if 'josepy.magic_typing' in sys.modules: + del sys.modules['josepy.magic_typing'] # pragma: no cover + from josepy.magic_typing import Text # pylint: disable=no-name-in-module + self.assertEqual(Text, text_mock) + del sys.modules['josepy.magic_typing'] + sys.modules['typing'] = temp_typing + + def test_import_failure(self): + try: + import typing as temp_typing + except ImportError: # pragma: no cover + temp_typing = None # pragma: no cover + sys.modules['typing'] = None + if 'josepy.magic_typing' in sys.modules: + del sys.modules['josepy.magic_typing'] # pragma: no cover + from josepy.magic_typing import Text # pylint: disable=no-name-in-module + self.assertTrue(Text is None) + del sys.modules['josepy.magic_typing'] + sys.modules['typing'] = temp_typing + + +if __name__ == '__main__': + unittest.main() # pragma: no cover diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/src/josepy/test_util.py new/josepy-1.2.0/src/josepy/test_util.py --- old/josepy-1.1.0/src/josepy/test_util.py 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/src/josepy/test_util.py 2019-06-29 01:28:21.000000000 +0200 @@ -4,7 +4,6 @@ """ import os -import unittest import OpenSSL import pkg_resources @@ -74,24 +73,3 @@ loader = _guess_loader( names[-1], OpenSSL.crypto.FILETYPE_PEM, OpenSSL.crypto.FILETYPE_ASN1) return OpenSSL.crypto.load_privatekey(loader, load_vector(*names)) - - -def skip_unless(condition, reason): # pragma: no cover - """Skip tests unless a condition holds. - - This implements the basic functionality of unittest.skipUnless - which is only available on Python 2.7+. - - :param bool condition: If ``False``, the test will be skipped - :param str reason: the reason for skipping the test - - :rtype: callable - :returns: decorator that hides tests unless condition is ``True`` - - """ - if hasattr(unittest, "skipUnless"): - return unittest.skipUnless(condition, reason) - elif condition: - return lambda cls: cls - else: - return lambda cls: None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/src/josepy/util.py new/josepy-1.2.0/src/josepy/util.py --- old/josepy-1.1.0/src/josepy/util.py 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/src/josepy/util.py 2019-06-29 01:28:21.000000000 +0200 @@ -1,5 +1,8 @@ """JOSE utilities.""" -import collections +try: + from collections.abc import Hashable, Mapping # pylint: disable=import-error +except ImportError: + from collections import Hashable, Mapping import OpenSSL import six @@ -135,7 +138,7 @@ return hash((self.__class__, pub.n, pub.e)) -class ImmutableMap(collections.Mapping, collections.Hashable): # type: ignore +class ImmutableMap(Mapping, Hashable): # type: ignore # pylint: disable=too-few-public-methods """Immutable key to value mapping with attribute access.""" @@ -181,7 +184,7 @@ for key, value in six.iteritems(self))) -class frozendict(collections.Mapping, collections.Hashable): # type: ignore +class frozendict(Mapping, Hashable): # type: ignore # pylint: disable=invalid-name,too-few-public-methods """Frozen dictionary.""" __slots__ = ('_items', '_keys') @@ -189,7 +192,7 @@ def __init__(self, *args, **kwargs): if kwargs and not args: items = dict(kwargs) - elif len(args) == 1 and isinstance(args[0], collections.Mapping): + elif len(args) == 1 and isinstance(args[0], Mapping): items = args[0] else: raise TypeError() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/src/josepy.egg-info/PKG-INFO new/josepy-1.2.0/src/josepy.egg-info/PKG-INFO --- old/josepy-1.1.0/src/josepy.egg-info/PKG-INFO 2018-04-13 16:48:03.000000000 +0200 +++ new/josepy-1.2.0/src/josepy.egg-info/PKG-INFO 2019-06-29 01:28:25.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: josepy -Version: 1.1.0 +Version: 1.2.0 Summary: JOSE protocol implementation in Python Home-page: https://github.com/certbot/josepy Author: Certbot Project @@ -8,8 +8,8 @@ License: Apache License 2.0 Description: JOSE protocol implementation in Python using cryptography - .. image:: https://travis-ci.org/certbot/josepy.svg?branch=master - :target: https://travis-ci.org/certbot/josepy + .. image:: https://travis-ci.com/certbot/josepy.svg?branch=master + :target: https://travis-ci.com/certbot/josepy .. image:: https://codecov.io/gh/certbot/josepy/branch/master/graph/badge.svg :target: https://codecov.io/gh/certbot/josepy @@ -27,15 +27,16 @@ Classifier: License :: OSI Approved :: Apache Software License Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Topic :: Internet :: WWW/HTTP Classifier: Topic :: Security +Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* +Provides-Extra: dev3 Provides-Extra: docs Provides-Extra: tests Provides-Extra: dev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/src/josepy.egg-info/SOURCES.txt new/josepy-1.2.0/src/josepy.egg-info/SOURCES.txt --- old/josepy-1.1.0/src/josepy.egg-info/SOURCES.txt 2018-04-13 16:48:03.000000000 +0200 +++ new/josepy-1.2.0/src/josepy.egg-info/SOURCES.txt 2019-06-29 01:28:25.000000000 +0200 @@ -1,5 +1,7 @@ .coveragerc .travis.yml +CHANGELOG.rst +CONTRIBUTING.md LICENSE.txt MANIFEST.in README.rst @@ -40,6 +42,8 @@ src/josepy/jwk_test.py src/josepy/jws.py src/josepy/jws_test.py +src/josepy/magic_typing.py +src/josepy/magic_typing_test.py src/josepy/test_util.py src/josepy/util.py src/josepy/util_test.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/src/josepy.egg-info/requires.txt new/josepy-1.2.0/src/josepy.egg-info/requires.txt --- old/josepy-1.1.0/src/josepy.egg-info/requires.txt 2018-04-13 16:48:03.000000000 +0200 +++ new/josepy-1.2.0/src/josepy.egg-info/requires.txt 2019-06-29 01:28:25.000000000 +0200 @@ -7,6 +7,10 @@ pytest tox +[dev3] +mypy +typing + [docs] Sphinx>=1.0 sphinx_rtd_theme diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/josepy-1.1.0/tox.ini new/josepy-1.2.0/tox.ini --- old/josepy-1.1.0/tox.ini 2018-04-13 16:47:09.000000000 +0200 +++ new/josepy-1.2.0/tox.ini 2019-06-29 01:28:21.000000000 +0200 @@ -1,7 +1,7 @@ [tox] envlist = - py2{6,7} - py3{3,4,5,6} + py27 + py3{4,5,6,7} [testenv] commands = @@ -10,25 +10,5 @@ # installs the test dependencies as specified in setup.py .[tests] -[testenv:py26] -commands = - {[testenv]commands} -deps: - cryptography<2.0 - flake8<3.0 - pytest-flake8==0.5 - # installs the test dependencies as specified in setup.py - .[tests] - -[testenv:py33] -commands = - {[testenv]commands} -deps: - cryptography<2.0 - flake8<3.0 - pytest-flake8==0.5 - # installs the test dependencies as specified in setup.py - .[tests] - [flake8] -ignore = E501 +ignore = W504, E501
