Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from using .par files to pure python for piptool and whltool #81

Closed
wants to merge 7 commits into from

Conversation

duggelz
Copy link

@duggelz duggelz commented Mar 23, 2018

Addresses #67

This vendors several third_party packages, which increases the repository size by 12MB and 116000 lines. Deleting the .par files will get about 6MB of that back.

The .par files will be removed in a separate change.

This change was tested against the rules_k8s repository, and various manual testing.

Alternatives to this change are:

  1. Do nothing, continue with the current process
  2. Create an actual release process for the .par files, which builds and stores them in a separate repository along with the .bzl files.

@duggelz duggelz changed the title [WIP] Switch from using .par files to pure python for piptool and whltool Switch from using .par files to pure python for piptool and whltool Mar 28, 2018
@duggelz
Copy link
Author

duggelz commented Mar 28, 2018

@mattmoor for your consideration

@duggelz
Copy link
Author

duggelz commented Mar 28, 2018

I suggest using GitHub's "Show changes from commit range..." feature, and skip the ginormous third_party commits.

Doug Greiman added 6 commits April 16, 2018 14:12
Commands run:
  pip install --target=third_party setuptools
  rm third_party/easy_install.py{,c}
Commands run:
  pip install --target=third_party pip
Commands run:
  pip install --target=third_party wheel
@c4urself
Copy link

I'd love to see this get in, debugging issues with the PAR files is not fun!!

@sitaktif
Copy link
Contributor

sitaktif commented Nov 25, 2019

Can we just use http_archive instead?

Poetry is doing that and it avoids vendoring almost 400 files (and making the git repo history larger) - https://github.com/soniaai/rules_poetry/blob/master/rules_poetry/defs.bzl#L3-L61

@thundergolfer
Copy link
Collaborator

Closing as release 0.1.0 included a packaging rules implementation that no longer relied on .par files.

@thundergolfer thundergolfer deleted the dgreiman/parectomy branch June 8, 2021 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants