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

Remove compatibility layers and other deprecated code #752

Merged
merged 10 commits into from
May 6, 2022

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented May 2, 2022

Description

This PR removes the various backwards compatibility layers that have been introduced on next to mitigate the pain of migrating to signac 2.0. Some other deprecated code that has previously slipped through the cracks is removed as well.

Motivation and Context

Based on discussions in some recent PRs (primarily #685 and #714) as well as more extended consideration in our developer meeting, we have decided against including backwards compatibility layers signac 2.0. Previously, we had incorporated some level of compatibility for changes that we foresaw having a particularly wide impact, but per our more recent discussions we will be moving forward with making these changes breaking in 2.0 since none of them are very difficult for users to fix.

Checklist:

@vyasr vyasr added this to the v2.0.0 milestone May 2, 2022
@vyasr vyasr requested review from a team as code owners May 2, 2022 04:57
@vyasr vyasr self-assigned this May 2, 2022
@vyasr vyasr requested review from bdice and tommy-waltmann and removed request for a team May 2, 2022 04:57
@vyasr vyasr requested a review from a team as a code owner May 2, 2022 05:19
@vyasr vyasr force-pushed the remove_compat_layers branch from 9adefa7 to ccf70e0 Compare May 2, 2022 05:20
Copy link
Member

@bdice bdice left a comment

Choose a reason for hiding this comment

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

I have a few comments. This PR is somewhat large and is mostly self-contained, so the changes might be easier to handle in a second PR. This also needs documentation updates for the removed methods.

changelog.txt Outdated Show resolved Hide resolved
changelog.txt Outdated Show resolved Hide resolved
signac/contrib/project.py Show resolved Hide resolved
signac/contrib/project.py Outdated Show resolved Hide resolved
signac/contrib/project.py Outdated Show resolved Hide resolved
signac/contrib/project.py Show resolved Hide resolved
tests/test_project.py Show resolved Hide resolved
@bdice bdice enabled auto-merge (squash) May 6, 2022 18:50
@bdice bdice merged commit cfa1e2c into next May 6, 2022
@bdice bdice deleted the remove_compat_layers branch May 6, 2022 19:04
bdice pushed a commit that referenced this pull request Jun 14, 2022
* Remove doc filter support.

* Remove support for workspace as function.

* Remove backwards compatibility layer for project_names in init.

* Remove backwards compat layers for schema.

* Remove backwards compat layers in CLI.

* Get all tests passing.

* Fix style.

* Update changelog.

* Update changelog.

* Address all PR comments except for renaming init_project parameter.
bdice pushed a commit that referenced this pull request Aug 1, 2022
* Remove doc filter support.

* Remove support for workspace as function.

* Remove backwards compatibility layer for project_names in init.

* Remove backwards compat layers for schema.

* Remove backwards compat layers in CLI.

* Get all tests passing.

* Fix style.

* Update changelog.

* Update changelog.

* Address all PR comments except for renaming init_project parameter.
bdice pushed a commit that referenced this pull request Oct 7, 2022
* Remove doc filter support.

* Remove support for workspace as function.

* Remove backwards compatibility layer for project_names in init.

* Remove backwards compat layers for schema.

* Remove backwards compat layers in CLI.

* Get all tests passing.

* Fix style.

* Update changelog.

* Update changelog.

* Address all PR comments except for renaming init_project parameter.
bdice pushed a commit that referenced this pull request Oct 27, 2022
* Remove doc filter support.

* Remove support for workspace as function.

* Remove backwards compatibility layer for project_names in init.

* Remove backwards compat layers for schema.

* Remove backwards compat layers in CLI.

* Get all tests passing.

* Fix style.

* Update changelog.

* Update changelog.

* Address all PR comments except for renaming init_project parameter.
vyasr added a commit that referenced this pull request Oct 30, 2022
* Remove doc filter support.

* Remove support for workspace as function.

* Remove backwards compatibility layer for project_names in init.

* Remove backwards compat layers for schema.

* Remove backwards compat layers in CLI.

* Get all tests passing.

* Fix style.

* Update changelog.

* Update changelog.

* Address all PR comments except for renaming init_project parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants