Skip to main content

No project description provided

Project description

todo:

  • test cases:

    • [] - test to make sure that installation goes through if python version is not installed and that python version is installed
    • [] - test to make sure that pyenv is installed correctly
    • [] - test to ensure that if not forced and an environment exists, that nothing happens and an error message indicating that it may be useful to use that flag appears
    • [] - test to make sure that if forced, a new environment is created
    • [] - test to ensure that the rc init file operation is idempotent and we don't end up with a bunch of spam/repeats inside the rc files
  • starting case: base python image, no pyenv etc

    • test case 1: create virtual environment
      • poetry-new-project test1 --version 3.9.5
    • test case 2: create same virtual environment and expect failure because it is not forced
      • poetry-new-project test1 --version 3.9.5
      • assert fail
    • test case 3: create same virtual environment with force flag and ensure that environment is re-created
      • poetry-new-project test1 --version 3.9.5 --force

docker build -t poetry-new-project-test:latest -f test/Dockerfile . docker run -it --rm -v $(pwd):/code -w /code poetry-new-project-test:latest bash

docker run -it --rm -v $(pwd):/app -w /app python:3.9.5-slim-buster bash

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poetry-new-project-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

poetry_new_project-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file poetry-new-project-0.1.0.tar.gz.

File metadata

  • Download URL: poetry-new-project-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Darwin/20.4.0

File hashes

Hashes for poetry-new-project-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7574faf881ea3ff0e0b879f4d856320362998eacb3c2be1dbdaac27e022486e0
MD5 003c0745f93cafdafc6841724d8b5428
BLAKE2b-256 aeefb6a60264846776d8b00f5bffe43800d92de4dfdd170354f577398f0c04be

See more details on using hashes here.

File details

Details for the file poetry_new_project-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: poetry_new_project-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Darwin/20.4.0

File hashes

Hashes for poetry_new_project-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a43a6c808075d171e1c35fc7a68bc9d5c59c5983bc6c71c1dc5d1684387065e
MD5 814e65a02f7b247fe00d983bbbb30a0a
BLAKE2b-256 508c0d07661ef75445fae999fbb5eb7ce575ed9433cfb0ca2f27cfdd8dbd27b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page