Skip to content

kostakoff/pdm-pipeline-sceleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipeline

Description

This pipeline using PDM PEP-582 for immutable code behaviour

Development requirements

  • python3.9 or higher
  • virtualenv
  • PDM package manager

Prepare development environment

  • Clone this repo
  • Optional run docker container with PDM
docker run -v $(pwd):/home/user -w /home/user --user $(id -u):$(id -g) -e HOME=/tmp --rm -it --entrypoint bash docker.io/kostakoff/rocky-base-images:8-python3.9
  • Navigate to pipeline folder cd pipeline
  • Enable pep582 instructions
eval "$(pdm --pep582)"
  • Sync packages
pdm sync -d

PDM troubleshooting

If you will have an issues with PDM cli, - you can try
remove __pypackages__, optional pdm.lock and run `

pdm install -d -v

folder __pypackages__ should be created from scratch

Run pipeline

  • run pipeline cli
python3 ./pipeline/pipeline.py --validate

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages