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

Fix py27 failing jobs #1151

Merged
merged 6 commits into from
May 25, 2020
Merged

Conversation

atugushev
Copy link
Member

@atugushev atugushev commented May 25, 2020

Refs pypa/setuptools-scm#442

  1. Upgrade virtualenv fixed issue with path.py
File "/tmp/easy_install-KNyzCx/jaraco.windows-5.0.0/temp/easy_install-m7aKTl/path.py-12.4.0/temp/easy_install-LMhEDY/more-itertools-8.3.0/more_itertools/more.py", line 482
    yield from iterable
             ^
SyntaxError: invalid syntax
  1. Released setuptools-scm-4.1.0 fixed issue with:
File "c:\users\vssadm~1\appdata\local\temp\pip-install-yxxmaf\setuptools-scm\src\setuptools_scm\git.py", line 9, in <module>
    from os.path import samefile
ImportError: cannot import name samefile

@atugushev atugushev marked this pull request as draft May 25, 2020 07:29
@atugushev atugushev changed the title Install fresh tox and virtualenv Fix py27 failing jobs May 25, 2020
@codecov
Copy link

codecov bot commented May 25, 2020

Codecov Report

Merging #1151 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1151   +/-   ##
=======================================
  Coverage   99.49%   99.49%           
=======================================
  Files          36       36           
  Lines        2752     2752           
  Branches      326      326           
=======================================
  Hits         2738     2738           
  Misses          8        8           
  Partials        6        6           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e09f9ee...baa10c5. Read the comment docs.

@atugushev
Copy link
Member Author

Oof, keep py27 alive till Jan 2021 would be tough... 😞

@atugushev atugushev marked this pull request as ready for review May 25, 2020 21:31
@AndydeCleyre
Copy link
Contributor

I'm all for upgrading past these problems. Only 1 and a half questions:

  • is this this adding virtualenv to py3 workflows when it wasn't there before?
    • if so, is that necessary?

@atugushev
Copy link
Member Author

atugushev commented May 25, 2020

@AndydeCleyre

It's not necessary for py3, but as we've seen before (#984) it's better to install a fresh virtualenv. Just in case.

@AndydeCleyre
Copy link
Contributor

If virtualenv is not used at all by our py3 workflow, I don't think we should install it in our py3 workflow.

@atugushev
Copy link
Member Author

@AndydeCleyre

tox uses virtualenv as a dependency.

Copy link
Contributor

@AndydeCleyre AndydeCleyre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, if the py3 flow does need virtualenv installed, then yes, let's keep it fresh.

@atugushev atugushev added bug fix ci Related to continuous integration tasks labels May 25, 2020
@atugushev atugushev merged commit 0ce999b into jazzband:master May 25, 2020
@atugushev atugushev deleted the fix-failing-py27-jobs branch May 25, 2020 22:00
@atugushev
Copy link
Member Author

@AndydeCleyre

Thank you so much! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Related to continuous integration tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants