Change the PyprojectTomlExtractor to extract both the [tool.poetry] version and [project] version from the same pyproject.toml file.