无服务器环境版本 1

本文概述了无服务器环境版本 1 的系统环境信息。 为了确保应用程序的兼容性,无服务器工作负荷使用版本控制 API(称为环境版本),该 API 与较新的服务器版本保持兼容。

可以使用无服务器笔记本中的 环境 侧面板选择环境版本。 请参阅 “选择环境版本”。

新功能和改进

无服务器环境 1 中提供了以下新功能和改进。

通过对 autoreload 的改进,Python 模块的重新加载更加可靠。

2024 年 11 月 1 日

重新加载从工作区文件导入的修改后的 Python 模块时,autoreload 扩展现在包含可靠性和安全性改进。 通过这些更改, autoreload尽可能只重新加载已更改的模块部分,而不是整个模块。 此外,如果模块自上次导入以来发生了更改,Azure Databricks 现在会自动建议使用 autoreload 扩展。 请参阅Python 模块的自动加载

系统环境

  • 操作系统:Ubuntu 22.04.4 LTS
  • Python:3.10.12
  • Databricks Connect:14.3.7

已安装的 Python 库

图书馆 版本 图书馆 版本 图书馆 版本
anyio 3.5.0 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0
asttokens 2.0.5 astunparse 1.6.3 attrs 22.1.0
backcall 0.2.0 beautifulsoup4 4.11.1 黑色 22.6.0
漂白剂 4.1.0 闪烁器 1.4 boto3 1.24.28
botocore 1.27.96 cachetools (缓存工具) 5.3.2 certifi 2022.12.7
cffi 1.15.1 chardet 4.0.0 charset-normalizer (字符集正常化工具) 2.0.4
click 8.0.4 comm 0.1.2 contourpy 1.0.5
密码学 39.0.1 骑行者 0.11.0 Cython 0.29.32
databricks-connect 连接工具 14.3.7 Databricks软件开发工具包 (databricks-sdk) 0.20.0 dbus-python 1.2.18
debugpy 1.6.7 装饰师 5.1.1 defusedxml 0.7.1
distlib 0.3.8 docstring-to-markdown 0.11 入口点 0.4
正在执行 0.8.3 各个方面概述 1.1.1 fastjsonschema 2.20.0
文件锁 (filelock) 3.16.1 fonttools(字体工具) 4.25.0 google-auth (谷歌身份验证) 2.28.1
googleapis-common-protos 1.62.0 grpcio 1.62.0 grpcio-status 1.62.0
httplib2 0.20.2 idna 3.4 importlib-metadata 4.6.4
ipyflow-core 0.0.198 ipykernel 6.25.0 ipython 8.14.0
ipython-genutils(IPython通用工具) 0.2.0 ipywidgets 7.7.2 jedi 0.18.1
吉普尼 0.7.1 Jinja2 3.1.2 jmespath 0.10.0
joblib 1.2.0 jsonschema 4.17.3 Jupyter客户端 7.3.4
Jupyter 服务器 1.23.4 jupyter_core(Jupyter核心) 5.2.0 jupyterlab-pygments 0.1.2
jupyterlab-widgets 1.0.0 keyring 23.5.0 kiwisolver 1.4.4
launchpadlib 1.10.16 lazr.restfulclient 0.14.4 lazr.uri 1.0.6
lxml 4.9.1 MarkupSafe 2.1.1 matplotlib 3.7.0
matplotlib-inline 0.1.6 麦卡贝 0.7.0 mistune 0.8.4
more-itertools 8.10.0 mypy-extensions 0.4.3 nbclassic 0.5.2
nbclient 0.5.13 nbconvert 6.5.4 nbformat 5.7.0
nest-asyncio 1.5.6 nodeenv 1.9.1 笔记本 6.5.2
notebook_shim 0.2.2 numpy 1.23.5 oauthlib 3.2.0
包装 23.2 熊猫 1.5.3 pandocfilters 1.5.0
帕尔索 0.8.3 pathspec 0.10.3 patsy 0.5.3
pexpect 4.8.0 pickleshare 0.7.5 枕头 9.4.0
pip 22.3.1 platformdirs 2.5.2 plotly 5.9.0
Pluggy (Python库) 1.0.0 prometheus-client 0.14.1 prompt-toolkit 3.0.36
protobuf 4.25.5 psutil 5.9.0 psycopg2 2.9.3
ptyprocess 0.7.0 pure-eval 0.2.2 py4j 0.10.9.7
pyarrow 8.0.0 pyarrow-hotfix 0.5 pyasn1 0.5.1
pyasn1-modules 0.3.0 pyccolo 0.0.52 Python代码解析器 2.21
pydantic 1.10.6 pyflakes 3.1.0 Pygments 2.11.2
PyGObject 3.42.1 PyJWT 2.3.0 pyodbc 4.0.32
pyparsing 3.0.9 pyright 1.1.294 pyrsistent(持久性,类似于 persistent 的 Python 包) 0.18.0
python-dateutil 2.8.2 python-lsp-jsonrpc 1.1.1 python-lsp-server 1.8.0
pytoolconfig 1.2.5 pytz 2022年7月 pyzmq 23.2.0
requests 2.28.1 绳子 1.7.0 rsa 4.9
s3transfer 0.6.2 scikit-learn 1.1.1 scipy 1.10.0
seaborn 0.12.2 SecretStorage 3.3.1 Send2Trash 1.8.0
setuptools 65.5.1 6 1.16.0 sniffio 1.2.0
soupsieve 2.3.2.post1 ssh-import-id 5.11 堆栈数据 0.2.0
statsmodels 0.13.5 毅力 8.1.0 terminado 0.17.1
threadpoolctl 2.2.0 tinycss2 1.2.1 tokenize-rt 4.2.1
tomli 2.0.1 龙卷风 6.1 traitlets 5.7.1
输入扩展 (typing_extensions) 4.4.0 ujson 5.4.0 unattended-upgrades 0.1
urllib3 1.26.14 virtualenv 20.16.7 wadllib 1.3.6
wcwidth 0.2.5 Web编码 0.5.1 WebSocket客户端 0.58.0
whatthepatch 1.0.2 轮子 0.38.4 widgetsnbextension 3.6.1
yapf 0.33.0 齐普 1.0.0