Quiz for:
Introduction to Poetry for Dependency Management in Python

Question 1

Which file does PEP 518 introduce for all project settings?

Question 2

What replaced the older methods of `pip install` and `requirements.txt`?

Question 3

What command is used to build a distributable format of your package in Poetry?

Question 4

Which configuration file gets automatically updated when you add a package using the command `poetry add <package>`?

Question 5

Which special character is typically used for version constraints to allow updates within a major version?

Question 6

Which command is used to add a package using Poetry?

Question 7

How does one create a virtual environment in Poetry?

Question 8

What special versioning label indicates an early release version in semantic versioning?

Question 9

How do you remove a package using Poetry?

Question 10

What is the primary purpose of dependency management in Python?

Question 11

How can you bump the version of your package using Poetry?

Question 12

What command would you use to enter the virtual environment created by Poetry?

Question 13

Where is the virtual environment located when created by Poetry?

Question 14

How can you view the installed packages and their dependencies in a Poetry-managed project?

Question 15

Which command would you execute to publish a package to PyPI using Poetry?