Skip to content

Update setuptools to 34.2.0#62

Open
safety-cli[bot] wants to merge 3 commits into
masterfrom
pyup-update-setuptools-26.1.1-to-34.2.0
Open

Update setuptools to 34.2.0#62
safety-cli[bot] wants to merge 3 commits into
masterfrom
pyup-update-setuptools-26.1.1-to-34.2.0

Conversation

@safety-cli
Copy link
Copy Markdown

@safety-cli safety-cli Bot commented Feb 17, 2017

There's a new version of setuptools available.
You are currently using 26.1.1. I have updated it to 34.2.0

These links might come in handy: PyPI | Changelog | Repo

Changelog

34.2.0


  • 966: Add support for reading dist-info metadata and
    thus locating Distributions from zip files.
  • 968: Allow '+' and '!' in egg fragments
    so that it can take package names that contain
    PEP 440 conforming version specifiers.

34.1.1


  • 953: More aggressively employ the compatibility issue
    originally added in 706.

34.1.0


  • 930: build_info now accepts two new parameters
    to optimize and customize the building of C libraries.

34.0.3


  • 947: Loosen restriction on the version of six required,
    restoring compatibility with environments relying on
    six 1.6.0 and later.

34.0.2


  • 882: Ensure extras are honored when building the
    working set.
  • 913: Fix issue in develop if package directory has
    a trailing slash.

34.0.1


  • 935: Fix glob syntax in graft.

34.0.0


  • 581: Instead of vendoring the growing list of
    dependencies that Setuptools requires to function,
    Setuptools now requires these dependencies just like
    any other project. Unlike other projects, however,
    Setuptools cannot rely on setup_requires to
    demand the dependencies it needs to install because
    its own machinery would be necessary to pull those
    dependencies if not present (a bootstrapping problem).
    As a result, Setuptools no longer supports self upgrade or
    installation in the general case. Instead, users are
    directed to use pip to install and upgrade using the
    wheel distributions of setuptools.

Users are welcome to contrive other means to install
or upgrade Setuptools using other means, such as
pre-installing the Setuptools dependencies with pip
or a bespoke bootstrap tool, but such usage is not
recommended and is not supported.

As discovered in 940, not all versions of pip will
successfully install Setuptools from its pre-built
wheel. If you encounter issues with "No module named
six" or "No module named packaging", especially
following a line "Running setup.py egg_info for package
setuptools", then your pip is not new enough.

There's an additional issue in pip where setuptools
is upgraded concurrently with other source packages,
described in pip 4253. The proposed workaround is to
always upgrade Setuptools first prior to upgrading
other packages that would upgrade Setuptools.

33.1.1


  • 921: Correct issue where certifi fallback not being
    reached on Windows.

33.1.0


Installation via pip, as indicated in the Python Packaging User's Guide <https://packaging.python.org/installing/>_,
is the officially-supported mechanism for installing
Setuptools, and this recommendation is now explicit in the
much more concise README.

Other edits and tweaks were made to the documentation. The
codebase is unchanged.

33.0.0


  • 619: Removed support for the tag_svn_revision
    distribution option. If Subversion tagging support is
    still desired, consider adding the functionality to
    setuptools_svn in setuptools_svn 2.

32.3.1


  • 866: Use dis.Bytecode on Python 3.4 and later in
    setuptools.depends.

32.3.0


  • 889: Backport proposed fix for disabling interpolation in
    distutils.Distribution.parse_config_files.

32.2.0


  • 884: Restore support for running the tests under
    pytest-runner <https://github.com/pytest-dev/pytest-runner>_
    by ensuring that PYTHONPATH is honored in tests invoking
    a subprocess.

32.1.3


  • 706: Add rmtree compatibility shim for environments where
    rmtree fails when passed a unicode string.

32.1.2


  • 893: Only release sdist in zip format as warehouse now
    disallows releasing two different formats.

32.1.1


  • 704: More selectively ensure that 'rmtree' is not invoked with
    a byte string, enabling it to remove files that are non-ascii,
    even on Python 2.
  • 712: In 'sandbox.run_setup', ensure that __file__ is
    always a str, modeling the behavior observed by the
    interpreter when invoking scripts and modules.

32.1.0


  • 891: In 'test' command on test failure, raise DistutilsError,
    suppression invocation of subsequent commands.

32.0.0


  • 890: Revert 849. global-exclude .foo will not match all
    *.foo files any more. Package authors must add an explicit
    wildcard, such as global-exclude *.foo, to match all
    .foo files. See 886, 849.

31.0.1


  • 885: Fix regression where 'pkg_resources._rebuild_mod_path'
    would fail when a namespace package's 'path' was not
    a list with a sort attribute.

31.0.0


  • 250: Install '-nspkg.pth' files for packages installed
    with 'setup.py develop'. These .pth files allow
    namespace packages installed by pip or develop to
    co-mingle. This change required the removal of the
    change for 805 and pip 1924, introduced in 28.3.0 and implicated
    in 870, but means that namespace packages not in a
    site packages directory will no longer work on Python
    earlier than 3.5, whereas before they would work on
    Python not earlier than 3.3.

30.4.0


  • 879: For declarative config:
  • read_configuration() now accepts ignore_option_errors argument. This allows scraping tools to read metadata without a need to download entire packages. E.g. we can gather some stats right from GitHub repos just by downloading setup.cfg.
  • packages find: directive now supports fine tuning from a subsection. The same arguments as for find() are accepted.

30.3.0


  • 394 via 862: Added support for declarative package config in a setup.cfg file <https://setuptools.readthedocs.io/en/latest/setuptools.htmlconfiguring-setup-using-setup-cfg-files>_.

30.2.1


  • 850: In test command, invoke unittest.main with
    indication not to exit the process.

30.2.0


  • 854: Bump to vendored Packaging 16.8.

30.1.0


  • 846: Also trap 'socket.error' when opening URLs in
    package_index.
  • 849: Manifest processing now matches the filename
    pattern anywhere in the filename and not just at the
    start. Restores behavior found prior to 28.5.0.

30.0.0


  • 864: Drop support for Python 3.2. Systems requiring
    Python 3.2 support must use 'setuptools < 30'.
  • 825: Suppress warnings for single files.
  • 830 via 843: Once again restored inclusion of data
    files to sdists, but now trap TypeError caused by
    techniques employed rjsmin and similar.

29.0.1


  • 861: Re-release of v29.0.1 with the executable script
    launchers bundled. Now, launchers are included by default
    and users that want to disable this behavior must set the
    environment variable
    'SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES' to
    a false value like "false" or "0".

29.0.0


  • 841: Drop special exception for packages invoking
    win32com during the build/install process. See
    Distribute 118 for history.

28.8.0


  • 629: Per the discussion, refine the sorting to use version
    value order for more accurate detection of the latest
    available version when scanning for packages. See also
  • 837: Rely on the config var "SO" for Python 3.3.0 only
    when determining the ext filename.

28.7.1


  • 827: Update PyPI root for dependency links.
  • 833: Backed out changes from 830 as the implementation
    seems to have problems in some cases.

28.7.0


  • 832: Moved much of the namespace package handling
    functionality into a separate module for re-use in something
    like 789.
  • 830: sdist command no longer suppresses the inclusion
    of data files, re-aligning with the expectation of distutils
    and addressing 274 and 521.

28.6.1


  • 816: Fix manifest file list order in tests.

28.6.0


  • 629: When scanning for packages, pkg_resources now
    ignores empty egg-info directories and gives precedence to
    packages whose versions are lexicographically greatest,
    a rough approximation for preferring the latest available
    version.

28.5.0


  • 810: Tests are now invoked with tox and not setup.py test.
  • 249 and 450 via 764: Avoid scanning the whole tree
    when building the manifest. Also fixes a long-standing bug
    where patterns in MANIFEST.in had implicit wildcard
    matching. This caused global-exclude .foo to exclude
    all *.foo files, but also global-exclude bar.py to
    exclude foo_bar.py.

28.4.0


  • 732: Now extras with a hyphen are honored per PEP 426.
  • 811: Update to pyparsing 2.1.10.
  • Updated setuptools.command.sdist to re-use most of
    the functionality directly from distutils.command.sdist
    for the add_defaults method with strategic overrides.
    See 750 for rationale.
  • 760 via 762: Look for certificate bundle where SUSE
    Linux typically presents it. Use certifi.where() to locate
    the bundle.

28.3.0


  • 809: In find_packages(), restore support for excluding
    a parent package without excluding a child package.
  • 805: Disable -nspkg.pth behavior on Python 3.3+ where
    PEP-420 functionality is adequate. Fixes pip 1924.

28.1.0


  • 803: Bump certifi to 2016.9.26.

28.0.0


  • 733: Do not search excluded directories for packages.
    This introduced a backwards incompatible change in find_packages()
    so that find_packages(exclude=[&#39;foo&#39;]) == [], excluding subpackages of foo.
    Previously, find_packages(exclude=[&#39;foo&#39;]) == [&#39;foo.bar&#39;],
    even though the parent foo package was excluded.
  • 795: Bump certifi.
  • 719: Suppress decoding errors and instead log a warning
    when metadata cannot be decoded.

27.3.1


  • 790: In MSVC monkeypatching, explicitly patch each
    function by name in the target module instead of inferring
    the module from the function's __module__. Improves
    compatibility with other packages that might have previously
    patched distutils functions (i.e. NumPy).

27.3.0


  • 794: In test command, add installed eggs to PYTHONPATH
    when invoking tests so that subprocesses will also have the
    dependencies available. Fixes tox 330 &lt;https://github.com/tox-dev/tox/issues/330&gt;_.
  • 795: Update vendored pyparsing 2.1.9.

27.2.0


  • 520 and 513: Suppress ValueErrors in fixup_namespace_packages
    when lookup fails.
  • Nicer, more consistent interfaces for msvc monkeypatching.

27.1.2


  • 779 via 781: Fix circular import.

27.1.1


  • 778: Fix MSVC monkeypatching.

27.1.0


  • Introduce the (private) monkey module to encapsulate
    the distutils monkeypatching behavior.

27.0.0


  • Now use Warehouse by default for
    upload, patching distutils.config.PyPIRCCommand to
    affect default behavior.

Any config in .pypirc should be updated to replace

https://pypi.python.org/pypi/

with

https://upload.pypi.org/legacy/

Similarly, any passwords stored in the keyring should be
updated to use this new value for "system".

The upload_docs command will continue to use the python.org
site, but the command is now deprecated. Users are urged to use
Read The Docs instead.

  • 776: Use EXT_SUFFIX for py_limited_api renaming.
  • 774 and 775: Use LegacyVersion from packaging when
    detecting numpy versions.

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants