Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Requirements not installed

Đang mở
#759 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, ruby
Lĩnh vực
devops, tooling

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

Mở trong Codespaces

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.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của voxpupuli/puppet-python

Tất cả issue của voxpupuli/puppet-python

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.