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

[MNT] remove Azure build tools and dependency handling instructions #2917

Merged
merged 3 commits into from Jul 10, 2022

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Jul 3, 2022

This PR removes Azure build tools and dependency handling, including documentation on dependency handling for Azure.

We are no longer using Azure CI/CD, so it seems like superfluous instructions for developers, and unused code, both of which can be safely removed.

@fkiraly fkiraly added the maintenance Continuous integration, unit testing & package distribution label Jul 3, 2022
@fkiraly fkiraly requested a review from aiwalter as a code owner July 3, 2022 15:58
fkiraly added a commit that referenced this pull request Jul 10, 2022
This PR moves inactive legacy code on soft dependency testing for the no longer in use Azure CI/CD to the `test_softdeps` test action on GitHub actions.
Original location is in the Azure build tools, `build_tools.azure.check_soft_dependencies`.
When this is moved, the legacy Azure content can probably be removed without a loss (see Pr #2917 that does this)

The test code is adapted and based on the package dependency tags in PR #2915.

Tests being carried out:

* `_check_pyhon_version` error is raised when trying to construct an estimator requiring a python version incompatible with spces (according to tags)
* `_check_soft_dependencies` error is raised when trying to import a module requiring a soft dependency that is not installed
* `_check_soft_dependencies` error is raised when trying to construct an estimator requiring a soft dependency that is not installed
* no `ModuleImportError`-s are encountered when trying to construct estimators without soft dependencies and compatible python version (according to tags)
* no `ModuleImportError`-s are encountered when trying to construct estimators where python version is compatible and soft dependencies (according to tag) are present in the environment
@fkiraly fkiraly merged commit ed8a307 into main Jul 10, 2022
@fkiraly fkiraly deleted the dependencies-noazure branch July 10, 2022 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Continuous integration, unit testing & package distribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant