Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Requirements not installed

Aperta
#759 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
67/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python, ruby
Ambito
devops, tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Ruby
Stelle
196
Fork
371
Merge medio
5h 54m
PR unite (30g)
5

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di voxpupuli/puppet-python

Tutte le issue di voxpupuli/puppet-python

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.