Skip to content

Conversation

@ziegenberg
Copy link
Collaborator

@ziegenberg ziegenberg commented Oct 25, 2021

Switching from pep517.build to build because pep517 is deprecated.

@ziegenberg ziegenberg requested a review from ssbarnea as a code owner October 25, 2021 16:36
@ssbarnea
Copy link
Member

Can you please make this one do only "Update built process" so it changes deps related to built process and update the newer commands in tox.ini. This change should not touch pre-commit config.

@ssbarnea ssbarnea added the bug This issue/PR relates to a bug. label Oct 25, 2021
@ziegenberg
Copy link
Collaborator Author

Would the following work?

I keep e4705ba and e0f9752 as-is and from 894813d I will keep:

  • bump pip to 21.3.1
  • bump toml to 0.10.2
  • bump twine to 3.4.2
  • bump setuptools to 58.3.0
  • bump setuptools_scm to 6.3.2
  • bump setuptools_scm_git_archive to 1.1

Is rebasing and force-pushing ok? Cause I see b829be1 in here.


The following will go into a new PR:

  • bump flake8 to 4.0.1
  • bump pydocstyle to 6.1.1
  • bump flake8-docstrings to 1.6.0
  • bump flake8-absolute-import to 1.0
  • bump flake8-black to 0.2.3
  • bump black to 21.9b0 (also repositoy for black moved to https://github.com/psf/black.git)

@ziegenberg
Copy link
Collaborator Author

OK. I'll do so tomorrow. Gotta go now

@ssbarnea ssbarnea changed the title Updating dependencies and switching build process Upgrade the build process Oct 25, 2021
@ziegenberg
Copy link
Collaborator Author

ziegenberg commented Oct 26, 2021

@ssbarnea this is ready for review. The rest of the original PR went into #147.

commands =
rm -rfv {toxinidir}/dist/
python -m pep517.build \
--source \
Copy link
Member

@ssbarnea ssbarnea Oct 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remove --sdist and --wheel because they are implicit. If you check the --help section you will realise that running without them is better for testing.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you were a bit too quick for me. :)
I'll look into this and resolve it - if necessary - in a new PR

@ssbarnea ssbarnea merged commit 9985a8d into pycontribs:main Oct 27, 2021
@ziegenberg ziegenberg deleted the update-dependencies branch October 28, 2021 14:25
ziegenberg added a commit to ziegenberg/ansi2html that referenced this pull request Nov 2, 2021
As discussed in PR pycontribs#145 removing the implicit building options as they
disable the default behavior. According to the documentation:

	By default, a source distribution (sdist) is built from {srcdir} and
	a binary distribution (wheel) is built from the sdist. This is recommended
	as it will ensure the sdist can be used to build wheels.
	Pass -s/–sdist and/or -w/–wheel to build a specific distribution.
	If you do this, the default behavior will be disabled, and all artifacts
	will be built from {srcdir} (even if you combine -w/–wheel with -s/–sdist,
	the wheel will be built from {srcdir}).

Signed-off-by: Daniel Ziegenberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This issue/PR relates to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants