Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Gheorghe Popescu updated an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Change By: Gheorghe Popescu Fix Version/s: PUP 6.4.3 Fix Version/s: PUP 6.0.10 Fix Version/s: PUP 5.5.15 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.4393.1562143740293%40Atlassian.JIRA. For more options, visit
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Maximilian Philipps commented on PUP-9790 Re: undefined method `pip_version' with pip3 provider Alright, looking forward to it. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.1534.1561962600159%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper commented on PUP-9790 Re: undefined method `pip_version' with pip3 provider Maximilian Philipps for various reasons we'll be releasing 6.6.0 early next week Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.745.1561741380275%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Jean Bond updated an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Change By: Jean Bond Labels: regression resolved-issue-added type_and_provider Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.724.1561741080200%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Maximilian Philipps commented on PUP-9790 Re: undefined method `pip_version' with pip3 provider Josh Cooper: Is there any chance of getting an 6.5.1 release with this fixed? Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.15.1561711260142%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Change By: Kenn Hussey Fix Version/s: PUP 6.y Fix Version/s: PUP 6.6.0 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.59610.1561479120692%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Change By: Josh Cooper Team: Coremunity Puppet Romania Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.58988.1561424820582%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Change By: Josh Cooper Sprint: Platform Core KANBAN Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.58992.1561424820780%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Change By: Josh Cooper Fix Version/s: PUP 6.y Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.58968.1561422660357%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper commented on PUP-9790 Re: undefined method `pip_version' with pip3 provider The change had to be made in 5.5.x since that's where the original change was made. However, the regression was only released in 6.5.0, so that's the only fix version needed. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.58964.1561422601469%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Change By: Josh Cooper Sprint: Platform Core KANBAN Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.58934.1561422480357%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper commented on PUP-9790 Re: undefined method `pip_version' with pip3 provider Merged to 5.5.x in https://github.com/puppetlabs/puppet/commit/db96da38e45126e8eeae0a0d68e12479412c0015 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.58927.1561422420621%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Thomas Kishel commented on PUP-9790 Re: undefined method `pip_version' with pip3 provider Found, fixed, and spec updated: https://github.com/puppetlabs/puppet/pull/7593 Even when I added a receive count to the older/incorrect stub, the test passes? allow(@provider).to receive(:pip_version).with("/fake/bin/pip").and_return('1.0.1').exactly(99).times Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.58879.1561419060328%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper commented on PUP-9790 Re: undefined method `pip_version' with pip3 provider diff --git a/lib/puppet/provider/package/pip.rb b/lib/puppet/provider/package/pip.rb index ad4af1f532..a5cce507a2 100644 --- a/lib/puppet/provider/package/pip.rb +++ b/lib/puppet/provider/package/pip.rb @@ -106,7 +106,7 @@ Puppet::Type.type(:package).provide :pip, :parent => ::Puppet::Provider::Package command = resource_or_provider_command self.class.validate_command(command) -command_version = self.pip_version(command) +command_version = self.class.pip_version(command) if Puppet::Util::Package.versioncmp(command_version, '1.5.4') == -1 latest_with_old_pip else
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper commented on PUP-9790 Re: undefined method `pip_version' with pip3 provider git bisect: 12d6bd592be53ed3916e5b90491e07a71ea81169 is the first bad commit commit 12d6bd592be53ed3916e5b90491e07a71ea81169 Author: tkishel Date: Wed Apr 3 15:05:03 2019 -0700 (PUP-1082) targetable package command With this commit, the pip package provider implements a targetable `command`. :04 04 4cdce046cae40caf8a5af2141642a5dcf399821a 1a086aa517c99ab41b50d7304352246884b68a51 M lib :04 04 5a6a79c342317db8156f7491b628424efd0df938 80a3fd706224a9290bc0305c5b925e7ee61e5e48 M spec
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper commented on PUP-9790 Re: undefined method `pip_version' with pip3 provider This is reproducible in 5.5.x also: root@geptbdpg2wqx9ro:~/puppet# bundle exec puppet --version 5.5.15 root@geptbdpg2wqx9ro:~/puppet# bundle exec puppet apply manifest.pp Notice: Compiled catalog for geptbdpg2wqx9ro.delivery.puppetlabs.net in environment production in 0.44 seconds Notice: /Stage[main]/Main/Package[python3-pip]/ensure: created Notice: /Stage[main]/Main/Package[checkdmarc]/ensure: created Notice: Applied catalog in 23.79 seconds root@geptbdpg2wqx9ro:~/puppet# bundle exec puppet apply manifest.pp Notice: Compiled catalog for geptbdpg2wqx9ro.delivery.puppetlabs.net in environment production in 0.45 seconds Error: Could not get latest version: undefined method `pip_version' for Package[checkdmarc](provider=pip3)(command=default):Puppet::Type::Package::ProviderPip3 Error: /Stage[main]/Main/Package[checkdmarc]/ensure: change from '4.1.10' to 'latest' failed: Could not get latest version: undefined method `pip_version' for Package[checkdmarc](provider=pip3)(command=default):Puppet::Type::Package::ProviderPip3
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Change By: Josh Cooper Team: Coremunity Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313529.1561106191000.58568.1561407180786%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Josh Cooper commented on PUP-9790 Re: undefined method `pip_version' with pip3 provider root@azd3qyugalnzusl:~# puppet --version 6.5.0 root@azd3qyugalnzusl:~# cat manifest.pp package { 'checkdmarc': ensure => 'latest' , provider => 'pip3' , require => Package['python3-pip'] } package { 'python3-pip': ensure => latest } root@azd3qyugalnzusl:~# puppet apply manifest.pp Notice: Compiled catalog for azd3qyugalnzusl.delivery.puppetlabs.net in environment production in 0.38 seconds
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Maximilian Philipps updated an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Change By: Maximilian Philipps *Puppet Version: 6.5.0* *Puppet Server Version: 6.4.0* *OS Name/Version: Debian stretch*After updating puppet-agent to 6.5.0 and the puppet server to 6.4.0 package resources with a pip3 provider throw the following error:{noformat}Debug: Prefetching pip3 resources for packageDebug: Executing '/usr/bin/pip3 --version'Debug: Executing '/usr/bin/pip3 freeze --all'Debug: Puppet::Type::Package::ProviderPip3: Prefetched instance: %{name} via command: %{command}Debug: Puppet::Type::Package::ProviderPip3: Prefetched instance: %{name} via command: %{command}Error: Could not get latest version: undefined method `pip_version' for Package[checkdmarc](provider=pip3)(command=default):Puppet::Type::Package::ProviderPip3Info: Unknown failure using insync_values? on type: Package[checkdmarc] / property: ensure to compare values [:latest] and 4.1. 10Error 10 Error : /Stage[main]/Main/Node[redacted]/Mail::Dmarc_report[redacted]/Package[checkdmarc]/ensure: change from '4.1.10' to 'latest' failed: Could not get latest version: undefined method `pip_version' for Package[checkdmarc](provider=pip3)(command=default):Puppet::Type::Package::ProviderPip3{noformat}The code from the module is just:{noformat}package { 'checkdmarc': ensure => 'latest' , provider => 'pip3' , require => Package['python3-pip'] }{noformat} {noformat}$ /usr/bin/pip3 --versionpip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5){noformat} Add Comment
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Maximilian Philipps updated an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Change By: Maximilian Philipps *Puppet Version: 6.5.0* *Puppet Server Version: 6.4.0* *OS Name/Version: Debian stretch*After updating puppet-agent to 6.5.0 and the puppet server to 6.4.0 package resources with a pip3 provider throw the following error:{noformat} Debug: Prefetching pip3 resources for package Debug packageDebug : Executing '/usr/bin/pip3 --version' Debug: Executing '/usr/bin/pip3 freeze --all' Debug: Puppet::Type::Package::ProviderPip3: Prefetched instance: %{name} via command: %{command} Debug: Puppet::Type::Package::ProviderPip3: Prefetched instance: %{name} via command: %{command} Error: Could not get latest version: undefined method `pip_version' for Package[checkdmarc](provider=pip3)(command=default):Puppet::Type::Package::ProviderPip3 Info: Unknown failure using insync_values? on type: Package[checkdmarc] / property: ensure to compare values [:latest] and 4.1. 10 Error 10Error : /Stage[main]/Main/Node[redacted]/Mail::Dmarc_report[redacted]/Package[checkdmarc]/ensure: change from '4.1.10' to 'latest ' failed: Could not get latest version: undefined method `pip_version' for Package[checkdmarc](provider=pip3)(command=default):Puppet::Type::Package:: ProviderPip3 ProviderPip3 {noformat}The code from the module is just:{noformat} package { 'checkdmarc': ensure => 'latest' , provider => 'pip3' , require => Package['python3-pip'] }{noformat} {noformat} $ /usr/bin/pip3 --versionpip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5){noformat} Add Comment
Jira (PUP-9790) undefined method `pip_version' with pip3 provider
Title: Message Title Maximilian Philipps created an issue Puppet / PUP-9790 undefined method `pip_version' with pip3 provider Issue Type: Bug Affects Versions: PUP 6.5.0 Assignee: Unassigned Components: Types and Providers Created: 2019/06/21 1:36 AM Labels: regression type_and_provider Priority: Major Reporter: Maximilian Philipps Puppet Version: 6.5.0 Puppet Server Version: 6.4.0 OS Name/Version: Debian stretch After updating puppet-agent to 6.5.0 and the puppet server to 6.4.0 package resources with a pip3 provider throw the following error: Debug: Prefetching pip3 resources for packageDebug: Executing '/usr/bin/pip3 --version' Debug: Executing '/usr/bin/pip3 freeze --all'Debug: