Requirements not installed
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 67/100
Hướng nghiên cứu
Start by tracing the python::requirements resource and its handling of forceupdate and manage_requirements; the issue provides a minimal Puppet manifest to reproduce the behavior. Reproduce on the listed Puppet, module, Debian, and Python versions, then inspect the relevant tests for requirements installation. Done when the requirements install without forceupdate and do not trigger an install on every Puppet run.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Requirements.txt is not installed unless forceupdate is set
This appears to be similar to or a regression of #613 however it is happening in the latest version v10.0.0
Setting forceupdate to true installs the requirements, although this causes it to happen on every Puppet run.
file { '/srv/snl_healthcheck_dns/requirements.txt':
source => 'puppet:///modules/snl_healthcheck_dns/requirements.txt',
}
->
python::pyvenv { 'snl_healthcheck_dns_venv':
ensure => present,
version => 'system',
systempkgs => true,
venv_dir => '/srv/snl_healthcheck_dns/.venv',
}
->
python::requirements { '/srv/snl_healthcheck_dns/requirements.txt':
virtualenv => '/srv/snl_healthcheck_dns/.venv',
forceupdate => true, # without this line, installation doesn't happen
}
Tried with and without ->, with and without manage_requirements=True, and tried deleting venv directory.
Puppet 8.10.0
puppet-python v10.0.0
Debian 13 trixie (Freshly installed VM)
Python 3.13.5
- Ngôn ngữ chính
- Ruby
- Star
- 196
- Fork
- 371
- Merge trung bình
- 5 giờ 54 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của voxpupuli/puppet-python
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
voxpupuli/puppet-python#743 · 1 bình luận ·
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
voxpupuli/puppet-python#721 · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
voxpupuli/puppet-python#711 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 52/100
voxpupuli/puppet-python#673 · 1 bình luận ·
-
Rework package management to allow composition of dependenciesCó thể làm lại được @smortex đã nhận 658 ngày trước và không có pull request nào đang mở. Đang mở
voxpupuli/puppet-python#668 · 2 reaction · 1 người được giao ·
Tất cả issue của voxpupuli/puppet-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
heartcombo/simple_form#1874 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
greenelab/lab-website-template#357 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
open-feature/ruby-sdk-contrib#283 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
shakacode/react_on_rails#5295 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
account: profile bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 5 ngày