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

fix(nx-python): remove deprecated property and replace with context.projectsConfigurations #249

Merged

Conversation

Cammisuli
Copy link
Contributor

Hey!

First off, thank you for maintaining the python plugin for Nx. :) While doing some testing with the latest version of Nx, we found that this plugin does not work properly. This requires some changes because we removed a deprecated property from context. I've updated the references I found in this PR now.

Let me know if you have any questions or concerns, thanks!

Current Behavior

Running this plugin with Nx 20 throws errors because of use of removed property on context.

Expected Behavior

Replaced context.workspace with context.projectsConfigurations which should be available since Nx 17.

Related Issue(s)

Fixes #

@Cammisuli Cammisuli changed the title chore(nx-python): remove deprecated property and replace with context.projectsConfigurations fix(nx-python): remove deprecated property and replace with context.projectsConfigurations Oct 6, 2024
@lucasvieirasilva
Copy link
Owner

Hi @Cammisuli thanks for the contribution, I really appreciate it, I've noticed some Unit test failures in the PR, could you pls check?

Thanks!

@Cammisuli
Copy link
Contributor Author

my bad! I pushed an update to fix the tests 🙂

@lucasvieirasilva lucasvieirasilva merged commit c920a62 into lucasvieirasilva:main Oct 7, 2024
1 of 2 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 7, 2024
## [19.1.3](nx-python-v19.1.2...nx-python-v19.1.3) (2024-10-07)

### Bug Fixes

* **nx-python:** remove deprecated property and replace with `context.projectsConfigurations` ([#249](#249)) ([c920a62](c920a62))
Copy link

github-actions bot commented Oct 7, 2024

🎉 This PR is included in version 19.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants