Closed saz closed 3 years ago
Type annotations would indeed help here a bit and I was thinking about it.
Is there a plan on adding them? Maybe this part can be marked as "needs some work" after annotations are there.
I'm also curious on how many users are still using virtualenv < 1.7...
I'm also curious on how many users are still using virtualenv < 1.7...
file this under "things i don't wanna know", like, how many people still use CentOS / RHEL 5
@thebigb @igalic Does it makes sense to still support virtualenv < 1.7? 1.7 has been released in 2011... Dropping support will make this waaay easier...
i think that mostly depends on what the oldest operating system is that ships it, before we get to update it
Personally not a big fan of potentially breaking changes unless it's a major release. That said, I doubt that users that are running older versions do keep this puppet module up to date.
I had a look at the changelog you found, and I guess this solution would suffice:
https://github.com/voxpupuli/puppet-python/compare/master...thebigb:master?diff=unified
i think that mostly depends on what the oldest operating system is that ships it, before we get to update it
That's the hardest part to find, as not all OSs have a version stated somewhere related to virtualenv. The usual suspects (e.g. RHEL) seem to have a newer version included (CentOS 5 isn't in the list of supported OSs :smile:)
@thebigb Okay, let's use this one. Should I update this PR or how should we proceed?
Go ahead. Did you test it? I tested it on my local setup, but I might've overlooked something.
@igalic @thebigb @saz how do we process here? I would like to have this released soon, since we require python virtualenv support on 20.04.
@saz you might need to rebase your branch.
@saz @thebigb can we have this release soon please?
Looks like a variant of this was included in https://github.com/voxpupuli/puppet-python/pull/593; is this sorted now?
Looks good to me. Closing this.
--no-site-packages
argument isn't available in all versions of virtualenv > 20.0.1