Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3.8, 3.9 and 3.10, drop EOL Python versions (2.7, 3.4, 3.5), use GitHub Actions for CI #214

Merged
merged 15 commits into from
Feb 14, 2022

Commits on Aug 26, 2021

  1. Configuration menu
    Copy the full SHA
    2734c7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f1e72a View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. Configuration menu
    Copy the full SHA
    a7b19b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad2e58f View commit details
    Browse the repository at this point in the history
  3. Drop support for Python 2, Python 3.4 and 3.5

    Python 2 has been EOL for since Jan 1, 2020, Python 3.4 has been EOL
    since Mar 18, 2019 and Python 3.5 has been EOL since Sep 13, 2020.
    
    Drop obsolete 'from __future__' imports, drop obsolete conditionals due
    to Python 2 vs. 3 differences.
    tjanez committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    d956dec View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Replace PyPy with PyPy 3

    tjanez committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    7dbcbaf View commit details
    Browse the repository at this point in the history
  2. Remove test for testing 'virtualenv --relocatable'

    Virtualenv 20+ doesn't support --relocatable anymore and nothing in Pew
    really depended on that.
    tjanez committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    7d47464 View commit details
    Browse the repository at this point in the history
  3. Replace version of Python to install in test_{un,}install test

    PyPy 2.6.1's download link is not working anymore.
    tjanez committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    c600d1e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    64eea15 View commit details
    Browse the repository at this point in the history
  5. Explicilty import distutils.sysconfig subpackage in sitepackages_dir()

    In general, submodules and subpackages are not imported when one imports
    a package, unless they are explicitly included in the package's
    __init__.py.
    
    To avoid a potential issue, explicitly import get_python_lib() from
    distutils.sysconfig subpackage.
    tjanez committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    cf6c220 View commit details
    Browse the repository at this point in the history
  6. Replace easy_install with setuptools in test_lssitepackages

    The easy_install top-level model and the easy_install console script
    have been removed in setuptools 52+:
    https://setuptools.readthedocs.io/en/latest/history.html#v52-0-0
    
    Replace them with a setuptools exec that check for presence of a
    setuptools dist-info, e.g. setuptools-57.4.0.dist-info.
    tjanez committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    18e5a08 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2021

  1. Rewrite test_restore to delete setuptools to break test virtualenv

    Previoulsy, test_restore test relied on breaking the test virtualenv by
    removing the site.py from the test virtualenv.
    
    Since virtualenv 20+ doesn't inject its own site.py when creating a
    Python 3 virtualenv anymore, reling on removing the site.py from the
    testing virtualenv no longer works.
    
    Deleting everything related to setuptools seems like a good way to break
    the 'import setuptools' statement.
    tjanez committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    dd5b9e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0166483 View commit details
    Browse the repository at this point in the history
  3. Temporarily disable test_create_in_symlink test in test_mkvirtualenv

    Follow up on why it broke in issue:
    pew-org#225.
    tjanez committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    c5fb0de View commit details
    Browse the repository at this point in the history
  4. Add support for Python 3.10

    tjanez committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    00a5370 View commit details
    Browse the repository at this point in the history