Hi all, PyMEL 1.3.0 has been released to PyPI. Those of you paying attention to recent releases of Maya may have noticed that PyMEL is no longer distributed with Maya. The new approach is to use pip to install PyMEL from PyPI, and you can find instructions on how to do this on the PyMEL PyPI page <https://pypi.org/project/pymel/> (as well as github).
I know that pip installing is a bit less convenient, but on the bright side distributing via PyPI will give us the ability to make patch releases as needed. If access to PyPI is not available in your working environment due to restricted internet, I highly recommend getting your IT team to set up an internal mirror that can do pull-through caching, like Nexus <https://www.sonatype.com/products/nexus-repository> or Artifactory <https://jfrog.com/artifactory-book-demo/>, both of which have free versions. On to the release. There are two big improvements in 1.3.0: 1. support for Maya 2023 and fixes for 2022 in python3 mode 2. very accurate stubs for code completion and static analysis, distributed as PEP 561 <https://peps.python.org/pep-0561/>-compliant pyi files. The second feature means if you use an editor that understands pyi stubs, like PyCharm and VS Code with Pylance <https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance>, you should begin to see immediate improvements just by pip installing pymel into a virtual env that your editor knows about. *I wrote a blog post about the stubs* if you’re interested: https://dev.to/chadrik/pymels-new-type-stubs-2die The new stubs include arguments and their types for nearly all functions in pymel, as well as many return types and even many return types that are conditional based on input arguments. I know that this release has been a long time coming. Finding the time to put together this announcement added some delays (I’m currently writing this while on vacation), so I apologize to those of you who have been waiting. And yes, we’ll get started on Maya 2024 soon. -chad -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAGq9Q7FaPt%3DYr1uwTAr3z1LR_So%3DY86jTmww9yyQ_8%3DhqBfYXg%40mail.gmail.com.