Marcel Telka
2024-02-22 0ff4535e39744130c20acbaa1d7e7f07943d9cda
python/future: update to 1.0.0; obsolete package for Python 3.7

3 files deleted
1 files added
4 files modified
1 files renamed
1447 ■■■■■ changed files
components/python/future/Makefile 10 ●●●● patch | view | raw | blame | history
components/python/future/future-PYVER.p5m 3 ●●●● patch | view | raw | blame | history
components/python/future/history 1 ●●●● patch | view | raw | blame | history
components/python/future/manifests/sample-manifest.p5m 3 ●●●● patch | view | raw | blame | history
components/python/future/patches/01-support-for-3.9.patch 143 ●●●●● patch | view | raw | blame | history
components/python/future/pkg5 10 ●●●●● patch | view | raw | blame | history
components/python/future/python-integrate-project.conf 20 ●●●●● patch | view | raw | blame | history
components/python/future/test/results-3.7.master 1217 ●●●●● patch | view | raw | blame | history
components/python/future/test/results-all.master 40 ●●●●● patch | view | raw | blame | history
components/python/future/Makefile
@@ -15,27 +15,21 @@
#
BUILD_STYLE = setup.py
USE_COMMON_TEST_MASTER = no
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        future
HUMAN_VERSION =            0.18.3
HUMAN_VERSION =            1.0.0
COMPONENT_SUMMARY =        future - Clean single-source support for Python 3 and 2
COMPONENT_PROJECT_URL =        https://python-future.org
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/8f/2e/cf6accf7415237d6faeeebdc7832023c90e0282aa16fd3263db0eb4715ec/future-0.18.3.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:34a17436ed1e96697a86f9de3d15a3b0be01d8bc8de9c1dffd59fb8234ed5307
    sha256:bd2968309307861edae1458a4f8a4f3598c03be43b97521076aebf5d94c07b05
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE.txt
TEST_STYLE = pytest
include $(WS_MAKE_RULES)/common.mk
# https://github.com/PythonCharmers/python-future/issues/593
PYTEST_ADDOPTS += -p no:randomly
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/importlib-metadata
components/python/future/future-PYVER.p5m
@@ -130,6 +130,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/http/cookies.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/http/server.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/itertools.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/multiprocessing.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/pickle.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/queue.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/reprlib.py
@@ -246,5 +247,3 @@
    pkg.debug.depend.path=usr/bin
# Automatically generated dependencies based on distribution metadata
<transform file path=usr/bin/futurize-3\.7$ -> add pkg.depend.bypass-generate .*/importlib/(64/)?metadata.* >
<transform file path=usr/bin/pasteurize-3\.7$ -> add pkg.depend.bypass-generate .*/importlib/(64/)?metadata.* >
components/python/future/history
New file
@@ -0,0 +1 @@
library/python/future-37@0.18.3,5.11-2023.0.0.1 noincorporate
components/python/future/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2023 <contributor>
# Copyright 2024 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -130,6 +130,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/http/cookies.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/http/server.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/itertools.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/multiprocessing.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/pickle.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/queue.py
file path=usr/lib/python$(PYVER)/vendor-packages/future/moves/reprlib.py
components/python/future/patches/01-support-for-3.9.patch
File was deleted
components/python/future/pkg5
@@ -1,16 +1,12 @@
{
    "dependencies": [
        "library/python/importlib-metadata-37",
        "library/python/importlib-metadata-39",
        "library/python/setuptools-37",
        "library/python/setuptools-39",
        "runtime/python-37",
        "runtime/python-39"
    ],
    "fmris": [
        "library/python/future-37",
        "library/python/future-39",
        "library/python/future"
        "library/python/future",
        "library/python/future-39"
    ],
    "name": "future"
}
}
components/python/future/python-integrate-project.conf
File was deleted
components/python/future/test/results-3.7.master
File was deleted
components/python/future/test/results-all.master
File was renamed from components/python/future/test/results-3.9.master
@@ -1,13 +1,10 @@
============================= test session starts ==============================
platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON)
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples')
rootdir: $(@D)
configfile: pytest.ini
asyncio: mode=strict
collecting ... collected 1144 items
collecting ... collected 1143 items
::project PASSED
tests/test_future/test_backports.py::CountTest::test_count PASSED
tests/test_future/test_backports.py::CountTest::test_own_count PASSED
tests/test_future/test_backports.py::TestChainMap::test_basics PASSED
@@ -646,6 +643,7 @@
tests/test_future/test_standard_library.py::TestFutureMoves::test_future_moves_dbm PASSED
tests/test_future/test_standard_library.py::TestFutureMoves::test_future_moves_urllib_request PASSED
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_ChainMap PASSED
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_SimpleQueue PASSED
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_builtins PASSED
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_bytesio PASSED
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_can_import_several PASSED
@@ -1152,10 +1150,6 @@
tests/test_past/test_translation.py::TestTranslate::test_xrange PASSED
=============================== warnings summary ===============================
../prototype/i386$(PYTHON_DIR)/vendor-packages/future/standard_library/__init__.py:65
  $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/future/standard_library/__init__.py:65: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp
tests/test_future/test_builtins.py:266
  $(@D)/tests/test_future/test_builtins.py:266: DeprecationWarning: invalid escape sequence \u
    (str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),
@@ -1200,48 +1194,44 @@
  $(@D)/tests/test_future/test_urllib_toplevel.py:626: DeprecationWarning: invalid escape sequence \^
    should_quote.append('<>#%"{}|\^[]`')
tests/test_future/test_standard_library.py::TestStandardLibraryReorganization::test_reload
  $(PYTHON_DIR)/importlib/__init__.py:169: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    _bootstrap._exec(spec, module)
tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  $(@D)/tests/test_future/test_urllib_toplevel.py:1209: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  $(@D)/tests/test_future/test_urllib_toplevel.py:1211: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'ab'),urllib_parse.splitpasswd('user:ab'))
tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  $(@D)/tests/test_future/test_urllib_toplevel.py:1210: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  $(@D)/tests/test_future/test_urllib_toplevel.py:1212: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\nb'),urllib_parse.splitpasswd('user:a\nb'))
tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  $(@D)/tests/test_future/test_urllib_toplevel.py:1211: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  $(@D)/tests/test_future/test_urllib_toplevel.py:1213: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\tb'),urllib_parse.splitpasswd('user:a\tb'))
tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  $(@D)/tests/test_future/test_urllib_toplevel.py:1212: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  $(@D)/tests/test_future/test_urllib_toplevel.py:1214: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\rb'),urllib_parse.splitpasswd('user:a\rb'))
tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  $(@D)/tests/test_future/test_urllib_toplevel.py:1213: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  $(@D)/tests/test_future/test_urllib_toplevel.py:1215: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\fb'),urllib_parse.splitpasswd('user:a\fb'))
tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  $(@D)/tests/test_future/test_urllib_toplevel.py:1214: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  $(@D)/tests/test_future/test_urllib_toplevel.py:1216: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a\vb'),urllib_parse.splitpasswd('user:a\vb'))
tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  $(@D)/tests/test_future/test_urllib_toplevel.py:1215: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  $(@D)/tests/test_future/test_urllib_toplevel.py:1217: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a:b'),urllib_parse.splitpasswd('user:a:b'))
tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  $(@D)/tests/test_future/test_urllib_toplevel.py:1216: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  $(@D)/tests/test_future/test_urllib_toplevel.py:1218: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user', 'a b'),urllib_parse.splitpasswd('user:a b'))
tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  $(@D)/tests/test_future/test_urllib_toplevel.py:1217: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  $(@D)/tests/test_future/test_urllib_toplevel.py:1219: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user 2', 'ab'),urllib_parse.splitpasswd('user 2:ab'))
tests/test_future/test_urllib_toplevel.py::Utility_Tests::test_splitpasswd
  $(@D)/tests/test_future/test_urllib_toplevel.py:1218: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  $(@D)/tests/test_future/test_urllib_toplevel.py:1220: DeprecationWarning: urllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() instead
    self.assertEqual(('user+1', 'a+b'),urllib_parse.splitpasswd('user+1:a+b'))
tests/test_future/test_urllibnet.py::urlopenNetworkTests::test_getcode
@@ -1249,13 +1239,9 @@
  $(@D)/tests/test_future/test_urllibnet.py:103: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods
    open_url = urllib_request.FancyURLopener().open(URL)
tests/test_future/test_utils.py::TestUtils::test_raise_
  $(@D)/tests/test_future/test_utils.py:153: DeprecationWarning: Please use assertRaisesRegex instead.
    self.assertRaisesRegexp(
tests/test_past/test_oldstr.py::TestOldStr::test_unescape
  $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/past/types/oldstr.py:37: DeprecationWarning: invalid escape sequence '\c'
    return s.encode().decode('unicode_escape')
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======== 1060 passed, 37 skipped, 46 xfailed, 27 warnings ========
======== 1060 passed, 37 skipped, 46 xfailed, 24 warnings ========