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

feat(core): remove deprecated identity module #4040

Merged
merged 9 commits into from
Jun 6, 2023

Conversation

thomaseizinger
Copy link
Contributor

@thomaseizinger thomaseizinger commented Jun 6, 2023

Description

Related: #3647.

Notes & open questions

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@thomaseizinger thomaseizinger added send-it trivial Marks PRs which are considered trivial and don't need approval from another maintainer. labels Jun 6, 2023
@thomaseizinger thomaseizinger added this to the v0.52.0 milestone Jun 6, 2023
@thomaseizinger
Copy link
Contributor Author

This is currently failing because we made some errors in the previous release of libp2p-identity 0.1.2 (unsure how that passed CI but feature flags are hard ...).

Anyway, this will pass once we upgrade to the latest libp2p-identity for all crates which happens in #4037.

@thomaseizinger
Copy link
Contributor Author

This is currently failing because we made some errors in the previous release of libp2p-identity 0.1.2 (unsure how that passed CI but feature flags are hard ...).

Anyway, this will pass once we upgrade to the latest libp2p-identity for all crates which happens in #4037.

Actually, I found a way to temporarily unblock this. We just need to activate a feature-flag that very likely will be activated anywhere somewhere in the dependency graph.

@mergify mergify bot merged commit 6112871 into master Jun 6, 2023
@mergify mergify bot deleted the feat/core-remove-deprecations branch June 6, 2023 19:22
Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@@ -39,11 +39,9 @@ libp2p-mplex = { workspace = true }
libp2p-noise = { workspace = true }
multihash = { version = "0.17.0", default-features = false, features = ["arb"] }
quickcheck = { workspace = true }
libp2p-identity = { workspace = true, features = ["ed25519"] }
Copy link
Member

Choose a reason for hiding this comment

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

Why was libp2p-identity added here as a dev-dependency even though it is already included as a dependency @thomaseizinger?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Originally to activate a feature but that probably became unnecessary in an iteration or something :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Thus do I understand correctly that this line is no longer needed from now on @thomaseizinger?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the line is needed but I think the feature can be removed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
send-it trivial Marks PRs which are considered trivial and don't need approval from another maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants