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

refactor: undo the great unpinning #1267

Merged
merged 3 commits into from
Jun 24, 2021

Conversation

dkunitsk
Copy link

@dkunitsk dkunitsk commented Jun 24, 2021

Signed-off-by: Dmitriy Kunitskiy [email protected]

Summary of Changes

This formally ends The Great Unpinning. In effect, I realized it does not solve the problem of amundsen-common as it still results in this simple library requiring many unrelated dependencies. Additionally, the loss of reproducible builds introduced by unpinned service dependencies is possibly not worth the benefit.

Instead, I propose to keep amundsen-common separate with its small requirements set. Why is this okay? Because, when amundsen-common is used inside databuilder/frontend/metadata/search, the install_requires of amundsen-common will be completely irrelevant. In other words, the pain of desynchronized dependencies will not return and the benefits of @mgorsk1's efforts in #1163 are maintained.

One element of the earlier PR I have kept is the removal of outdated dependencies:

  • itsdangerous
  • six
  • MarkupSafe
  • aniso8601

Tests

Documentation

CheckList

Make sure you have checked all steps below to ensure a timely review.

  • PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"
  • PR includes a summary of changes.
  • PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
  • In case of new functionality, my PR adds documentation that describes how to use it.
    • All the public functions and the classes in the PR contain docstrings that explain what it does

@boring-cyborg boring-cyborg bot added area:common From common folder area:frontend From the Frontend folder area:metadata From the metadata folder area:search From the search folder labels Jun 24, 2021
common/setup.py Show resolved Hide resolved
common/setup.py Show resolved Hide resolved
@@ -29,9 +22,28 @@
maintainer='Amundsen TSC',
maintainer_email='[email protected]',
packages=find_packages(exclude=['tests*']),
install_requires=requirements_common,
install_requires=[
# Packages in here should rarely be pinned. This is because these
Copy link
Author

Choose a reason for hiding this comment

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

note, I didn't author this comment, I took it from the earlier version of amundsen-common

Dmitriy Kunitskiy added 3 commits June 24, 2021 12:45
Signed-off-by: Dmitriy Kunitskiy <[email protected]>
Signed-off-by: Dmitriy Kunitskiy <[email protected]>
Signed-off-by: Dmitriy Kunitskiy <[email protected]>
@dkunitsk dkunitsk force-pushed the revert-some-stuff branch from c36d6bd to 12d9710 Compare June 24, 2021 19:46
Copy link
Contributor

@allisonsuarez allisonsuarez left a comment

Choose a reason for hiding this comment

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

My understanding is there's enough consensus on this route to try it out. we can always go back if not, but I think this is the safest way out of the situation.

@allisonsuarez allisonsuarez requested a review from mgorsk1 June 24, 2021 20:13
@allisonsuarez allisonsuarez merged commit 3ceacec into amundsen-io:main Jun 24, 2021
elenaboal pushed a commit to elenaboal/amundsen that referenced this pull request Jun 28, 2021
* undo the great unpinning

Signed-off-by: Dmitriy Kunitskiy <[email protected]>

* remove all extra requires

Signed-off-by: Dmitriy Kunitskiy <[email protected]>

* dev back to all

Signed-off-by: Dmitriy Kunitskiy <[email protected]>
Signed-off-by: Elena Boal <[email protected]>
amommendes pushed a commit to amommendes/amundsen that referenced this pull request Jul 22, 2021
* undo the great unpinning

Signed-off-by: Dmitriy Kunitskiy <[email protected]>

* remove all extra requires

Signed-off-by: Dmitriy Kunitskiy <[email protected]>

* dev back to all

Signed-off-by: Dmitriy Kunitskiy <[email protected]>
Signed-off-by: Amom <[email protected]>
zacr pushed a commit to SaltIO/amundsen that referenced this pull request May 13, 2022
* undo the great unpinning

Signed-off-by: Dmitriy Kunitskiy <[email protected]>

* remove all extra requires

Signed-off-by: Dmitriy Kunitskiy <[email protected]>

* dev back to all

Signed-off-by: Dmitriy Kunitskiy <[email protected]>
hansadriaans pushed a commit to DataChefHQ/amundsen that referenced this pull request Jun 30, 2022
* undo the great unpinning

Signed-off-by: Dmitriy Kunitskiy <[email protected]>

* remove all extra requires

Signed-off-by: Dmitriy Kunitskiy <[email protected]>

* dev back to all

Signed-off-by: Dmitriy Kunitskiy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:common From common folder area:frontend From the Frontend folder area:metadata From the metadata folder area:search From the search folder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants