Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title John Duarte commented on PUP-6405 Re: Pip package provider runs every time when updating setuptools Using a pre-release build of puppet-agent at SHA 879fc5a containing puppet at SHA 86d150f this passes manual validation on Debian 8. Applying a manifest to update pip and setuptools using the pip provider no longer redundently runs the pip install -q --upgrade --upgrade setuptools. Output from applying the manifest provided in the description of this ticket Info: Applying configuration version '1501534963' Debug: /Stage[main]/Main/Package[pip]/before: subscribes to Package[setuptools] Debug: Prefetching pip resources for package Debug: Executing '/usr/local/bin/pip --version' Debug: Executing '/usr/local/bin/pip freeze --all' Debug: Executing '/usr/local/bin/pip --version' Debug: Executing '/usr/local/bin/pip --version' Debug: Executing '/usr/local/bin/pip install pip==versionplease' Debug: Executing '/usr/local/bin/pip --version'
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title John Duarte updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: John Duarte Similar to PUP-6120, I see a problem with 'setuptools' (which also doesn't show up in pip output). The current workaround seems kind of cumbersome. While this is with 3.8.7, I imagine the setuptools problem might be reproducible in newer puppet.How common is pip < 1.2.2? Seems like "pip freeze --all" would also work, but appears to also not be implemented in 1.0.x.Maybe pip could just update itself first (or require a minimum version), then use 'pip list' or 'pip freeze \ - \ -all' for determining versions of everything else? Or determine pip version first, then add the '--all' flag in cases where it's supported? Then at least it would "see" pip and setuptools if the version of pip is recent enough.This is with older Puppet (3.8) without the fix for 6120, but same {noformat}Debug: Executing '/bin/pip freeze'Debug: Executing '/bin/pip install -q --upgrade setuptools'Notice: /Stage[main]/Role::Dp/Package[setuptools]/ensure: created{noformat}{noformat} package { 'pip': ensure => latest, install_options => '--upgrade', provider => 'pip' } -> package { 'setuptools': ensure => latest, install_options => '--upgrade', provider => 'pip' } ->{noformat}{noformat}# pip --versionpip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7)# pip freeze | grep ^setuptools# pip freeze --all | grep ^setuptoolssetuptools==23.0.0# pip list | grep ^setuptoolssetuptools (23.0.0){noformat} Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title John Duarte assigned an issue to John Duarte Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: John Duarte Assignee: qa John Duarte Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title John Duarte updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: John Duarte QA Risk Assessment: Manual Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Geoff Nichols Story Points: 1 0 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Geoff Nichols Sprint: Client 2016-05-04, Platform Core 2017-08- 22 08 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Geoff Nichols assigned an issue to qa Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Geoff Nichols Status: Ready for CI Test Assignee: qa Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Geoff Nichols Team: Agent Platform Core Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Geoff Nichols Sprint: Client 2016-05-04, Agent N+1 Platform Core 2017-08-22 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Geoff Nichols Sprint: Client 2016-05-04 , Agent N+1 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Moses Mendoza Fix Version/s: PUP 5.1.0 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Moses Mendoza commented on PUP-6405 Re: Pip package provider runs every time when updating setuptools merged to master at https://github.com/puppetlabs/puppet/commit/15bdd5ced79dcf9042f2ba5e2c99decbd4fd1bdf Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Ben Hines updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Ben Hines Affects Version/s: PUP 4.10.1 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Moses Mendoza Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Moses Mendoza Team: Agent Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Samuel Krieg commented on PUP-6405 Re: Pip package provider runs every time when updating setuptools PR: https://github.com/puppetlabs/puppet/pull/5702 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Samuel Krieg commented on PUP-6405 Re: Pip package provider runs every time when updating setuptools The original goal of `pip freeze` is to provide a list of dependencies when a Python developer builds his package; that is the reason it skips 'pip', 'setuptools', 'distribute' and 'wheel' (documented here). I think 'pip list' is a bad idea since the output is not formally defined. The workaround I use is this one: exec { 'install-setuptools': command => 'pip install -q setuptools', unless => 'pip freeze --all | /bin/grep ^setuptools==', path=> '/usr/local/bin:/usr/bin', } This workaround will obviously break with older version of pip and does unfortunately not take care of Package['setuptools']. I had a look at the pip source code and I got very confused: The pip (changelog) states that the "--all" option has been aded in pip 8.0.3 but Git shows the commit has been merged in pip-8.1.0. (I cloned their repo and did `git tag -l --contains 2956a3e`). I think Puppet should be able handle all packages including the core packages. I'm thinking about writing a patch to allow "pip freeze --all" when the pip version is greater than 8.1.0. Can someone with autority confirm this is a good idea?
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Ben Hines commented on PUP-6405 Re: Pip package provider runs every time when updating setuptools Same thing happens when trying to manage 'wheel' using pip. It's not listed in 'pip freeze' unless '--all' is specified. Why not use 'pip list' instead of 'pip freeze' (or pip freeze all)? Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Kenn Hussey commented on PUP-6405 Re: Pip package provider runs every time when updating setuptools Kylo Ginsberg do you know if this ended up getting fixed along with PUP-6120 ? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: Kenn Hussey Fix Version/s: PUP 4.5.0 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title William Yardley commented on PUP-6405 Re: Pip package provider runs every time when updating setuptools And obviously, the package installing itself over and over on each run isn't necessarily a huge problem. However, it does show up as a change in puppet dashboard, which is why we're looking at changing the behavior. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title William Yardley updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: William Yardley Similar to PUP-6120, I see a problem with 'setuptools' (which also doesn't show up in pip output). The current workaround seems kind of cumbersome. While this is with 3.8.7, I imagine the setuptools problem might be reproducible in newer puppet.How common is pip < 1.2.2? Seems like "pip freeze --all" would also work, but appears to also not be implemented in 1.0.x.Maybe pip could just update itself first (or require a minimum version), then use 'pip list' or 'pip freeze --all' for determining versions of everything else? Or determine pip version first, then add the '--all' flag in cases where it's supported? Then at least it would "see" pip and setuptools if the version of pip is recent enough. This is with older Puppet (3.8) without the fix for 6120, but same {noformat}Debug: Executing '/bin/pip freeze'Debug: Executing '/bin/pip install -q --upgrade setuptools'Notice: /Stage[main]/Role::Dp/Package[setuptools]/ensure: created{noformat}{noformat} package { 'pip': ensure => latest, install_options => '--upgrade', provider => 'pip' } -> package { 'setuptools': ensure => latest, install_options => '--upgrade', provider => 'pip' } ->{noformat}{noformat}# pip --versionpip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7)# pip freeze | grep ^setuptools# pip freeze --all | grep ^setuptoolssetuptools==23.0.0# pip list | grep ^setuptoolssetuptools (23.0.0){noformat} Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title William Yardley commented on PUP-6405 Re: Pip package provider runs every time when updating setuptools Sorry if the weird clone (without clone+ or clone++) messed up anything in terms of organization. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title William Yardley updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: William Yardley Similar to PUP-6120, I see a problem with 'setuptools' (which also doesn't show up in pip output). The current workaround seems kind of cumbersome. While this is with 3.8.7, I imagine the setuptools problem might be reproducible in newer puppet. How common is pip < 1.2.2? Seems like "pip freeze --all" would also work, but appears to also not be implemented in 1.0.x.Maybe pip could just update itself first (or require a minimum version), then use 'pip list' or 'pip freeze --all' for determining versions of everything else?This is with older Puppet (3.8) without the fix for 6120, but same {noformat}Debug: Executing '/bin/pip freeze'Debug: Executing '/bin/pip install -q --upgrade setuptools'Notice: /Stage[main]/Role::Dp/Package[setuptools]/ensure: created{noformat}{noformat} package { 'pip': ensure => latest, install_options => '--upgrade', provider => 'pip' } -> package { 'setuptools': ensure => latest, install_options => '--upgrade', provider => 'pip' } ->{noformat}{noformat}# pip --versionpip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7)# pip freeze | grep ^setuptools# pip freeze --all | grep ^setuptoolssetuptools==23.0.0# pip list | grep ^setuptoolssetuptools (23.0.0){noformat} Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title William Yardley updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: William Yardley Affects Version/s: PUP 4.4.1 Affects Version/s: PUP 3.8.7 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title William Yardley assigned an issue to Unassigned Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: William Yardley Assignee: Jon Skarpeteig Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title William Yardley updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: William Yardley Similar to PUP-6120, I see a problem with 'setuptools' (which also doesn't show up in pip output). The current workaround seems kind of cumbersome.How common is pip < 1.2.2? Seems like "pip freeze --all" would also work, but appears to also not be implemented in 1.0.x.Maybe pip could just update itself first (or require a minimum version) , then use 'pip list' or 'pip freeze --all' for determining versions of everything else?This is with older Puppet (3.8) without the fix for 6120, but same {noformat}Debug: Executing '/bin/pip freeze'Debug: Executing '/bin/pip install -q --upgrade setuptools'Notice: /Stage[main]/Role::Dp/Package[setuptools]/ensure: created{noformat}{noformat} package { 'pip': ensure => latest, install_options => '--upgrade', provider => 'pip' } -> package { 'setuptools': ensure => latest, install_options => '--upgrade', provider => 'pip' } ->{noformat}{noformat}# pip --versionpip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7)# pip freeze | grep ^setuptools# pip freeze --all | grep ^setuptoolssetuptools==23.0.0# pip list | grep ^setuptoolssetuptools (23.0.0){noformat} Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title William Yardley updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: William Yardley Similar to PUP-6120, I see a problem with 'setuptools' (which also doesn't show up in pip output). The current workaround seems kind of cumbersome.How common is pip < 1.2.2? Seems like "pip freeze --all" would also work, but appears to also not be implemented in 1.0.x.Maybe pip could just update itself first, then use 'pip list' or 'pip freeze --all' for determining versions of everything else?This is with older Puppet (3.8) without the fix for 6120, but same {noformat}Debug: Executing '/bin/pip freeze'Debug: Executing '/bin/pip install -q --upgrade setuptools'Notice: /Stage[main]/Role::Dp/Package[setuptools]/ensure: created{noformat}{noformat} package { 'pip': ensure => latest, install_options => '--upgrade', provider => 'pip' } -> package { 'setuptools': ensure => latest, install_options => '--upgrade', provider => 'pip' } ->{noformat}{noformat} adv1 [prod] root@dp-i-0c25bb8252bd5b882:~ # pip --versionpip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7) adv1 [prod] root@dp-i-0c25bb8252bd5b882:~ # pip freeze | grep ^setuptools adv1 [prod] root@dp-i-0c25bb8252bd5b882:~ # pip freeze --all | grep ^setuptoolssetuptools==23.0.0 adv1 [prod] root@dp-i-0c25bb8252bd5b882:~ # pip list | grep ^setuptoolssetuptools (23.0.0){noformat} Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title William Yardley updated an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Change By: William Yardley Similar to PUP-6120, I see a problem with 'setuptools' (which also doesn't show up in pip output). The current workaround seems kind of cumbersome.How common is pip package provider currently polls PyPI directly < 1.2.2? Seems like "pip freeze --all" would also work , instead but appears to also not be implemented in 1.0.x.Maybe pip could just update itself first, then use 'pip list' or 'pip freeze --all' for determining versions of relying on everything else?This is with older Puppet (3.8) without the fix for 6120, but same {noformat}Debug: Executing '/bin/ pip from CLI to look up freeze'Debug: Executing '/bin/pip install -q --upgrade setuptools'Notice: /Stage[main]/Role::Dp/Package[setuptools]/ensure: created{noformat}{noformat} package { 'pip': ensure => latest , install_options => '--upgrade', provider => 'pip' } -> package { 'setuptools': ensure => latest, install_options => '--upgrade', provider => 'pip' } ->{noformat}{noformat}adv1 [prod] root@dp-i-0c25bb8252bd5b882:~ # pip -- version pip 8 . 1.2 from /usr/lib/python2.7/site-packages (python 2.7) adv1 [prod] root@dp-i-0c25bb8252bd5b882:~ # pip freeze | grep ^setuptools This makes it impossible to configure adv1 [prod] root@dp-i-0c25bb8252bd5b882:~ # pip to use a custom PyPI repository freeze --all | grep ^setuptoolssetuptools==23.0.0adv1 [prod] root@dp-i-0c25bb8252bd5b882:~ # pip list | grep ^setuptoolssetuptools (23.0.0){noformat} Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Jira (PUP-6405) Pip package provider runs every time when updating setuptools
Title: Message Title William Yardley created an issue Puppet / PUP-6405 Pip package provider runs every time when updating setuptools Issue Type: Bug Affects Versions: PUP 4.4.1 Assignee: Jon Skarpeteig Components: Types and Providers Created: 2016/06/14 10:24 AM Fix Versions: PUP 4.5.0 Priority: Normal Reporter: William Yardley The pip package provider currently polls PyPI directly, instead of relying on pip from CLI to look up latest version. This makes it impossible to configure pip to use a custom PyPI repository