Remove outdated todos (#476)

This commit is contained in:
konsti 2023-11-21 14:57:40 +01:00 committed by GitHub
parent 17228ba04e
commit 934e32ea98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -227,7 +227,6 @@ impl SourceBuild {
) -> Result<SourceBuild, Error> {
let temp_dir = tempdir()?;
// TODO(konstin): Parse and verify filenames
let source_root = if fs::metadata(source)?.is_dir() {
source.to_path_buf()
} else {
@ -563,7 +562,6 @@ async fn create_pep517_build_environment(
.all(|req| pep517_backend.requirements.contains(req))
{
debug!("Installing extra requirements for build backend");
// TODO(konstin): Do we need to resolve them together?
let requirements: Vec<Requirement> = pep517_backend
.requirements
.iter()
@ -585,7 +583,6 @@ async fn create_pep517_build_environment(
/// Returns the directory with the `pyproject.toml`/`setup.py`
#[instrument(skip_all, fields(path))]
fn extract_archive(sdist: &Path, extracted: &PathBuf) -> Result<PathBuf, Error> {
// TODO(konstin): Simplify this with camino paths?
if sdist
.extension()
.is_some_and(|extension| extension == "zip")