Jira (PUP-10526) pip3 package provider fails manage multiple environments

2023-01-17 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10526  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
 The same issue was reported in PUP-11681, so I'm going to close this as well.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.1935.1674017340022%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2022-10-05 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Epic Link: 
 PUP-8958  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.42540.1665031800063%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2022-10-05 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Night's Watch Phoenix  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.42541.1665031800149%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2021-12-13 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu assigned an issue to Vadym Chepkov  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Assignee: 
 Vadym Chepkov  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.3988.1639395600137%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2021-11-09 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu commented on  PUP-10526  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
 Hi Vadym Chepkov, will a solution like the above one help in your use case?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.2105.1636458420152%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2021-11-08 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Labels: 
 needs_repro  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.844.1636361280069%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2021-11-02 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu commented on  PUP-10526  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
 The issues is caused by how providers are implemented: first time a pip3 package resource is evaluated will execute a pre-fetche on provider and the existence of command is checked at this step. This could be solved by add dependency from all pip3 packages to all `env creation` resources. Something like this:  
 
 
 
 
 exec { 'python env1':  
 
 
   command => "/bin/python3 -m venv --clear /opt/env1 && /opt/env1/bin/pip3 install --upgrade pip && /opt/env1/bin/pip3 install --upgrade setuptools",  
 
 
   creates => "/opt/env1/bin/activate",  
 
 
 }  
 
 
 package { 'cfn-lint':  
 
 
   ensure   => latest,  
 
 
   provider => 'pip3',  
 
 
   command  => '/opt/env1/bin/pip3',  
 
 
   require  => [Exec['python env1'],Exec['python env2']],  
 
 
 }  
 
 
 exec { 'python env2':  
 
 
   command => "/bin/python3 -m venv --clear /opt/env2 && /opt/env2/bin/pip3 install --upgrade pip && /opt/env2/bin/pip3 install --upgrade setuptools",  
   

Jira (PUP-10526) pip3 package provider fails manage multiple environments

2021-10-29 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Labels: 
 needs_repro  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.165872.1635499200036%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2021-10-29 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Sprint: 
 ready for triage  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.165871.1635499140313%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2020-11-05 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
 ready for triage  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.72436.1604566322540%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2020-11-05 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.72382.1604566262881%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2020-05-26 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Sprint: 
 PR - Triage  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.69808.1590504240031%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2020-05-22 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Night's Watch  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.68823.1590176700053%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2020-05-21 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Epic Link: 
 PUP-8958  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.359538.1590075231000.67993.1590099120277%40Atlassian.JIRA.


Jira (PUP-10526) pip3 package provider fails manage multiple environments

2020-05-21 Thread Vadym Chepkov (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vadym Chepkov created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10526  
 
 
  pip3 package provider fails manage multiple environments   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2020/05/21 8:33 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Vadym Chepkov  
 

  
 
 
 
 

 
 Puppet Version: 6.15.0 Puppet Server Version: 6.11.1 OS Name/Version: CentOS 8 Desired Behavior: Would like to manage multiple python environments with pip3 package provider Actual Behavior: Catalog fails if you try to manage multiple environments Here is a reproducer:    
 
 
 
 
 exec { 'python env1':  
 
 
   command => "/bin/python3 -m venv --clear /opt/env1 && /opt/env1/bin/pip3 install --upgrade pip && /opt/env1/bin/pip3 install --upgrade setuptools",  
 
 
   creates => "/opt/env1/bin/activate",  
 
 
 }  
 
 
 package { 'cfn-lint':  
 
 
   ensure   => latest,