Merge pull request #71 from devchat-ai/sync-240523-133940
🔄 Sync: [main](e544cc4e) Merge pull request #396 from devchat-ai/disable_windows_args_expand (240523-133940)
This commit is contained in:
commit
ab2abbdde6
@ -8,7 +8,7 @@ devchat-0.2.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZw
|
||||
devchat-0.2.10.dist-info/direct_url.json,sha256=1wB_-Q0sLy-N5jRVP5JH0daRG37J_dnkfRV4Ae-DNvI,111
|
||||
devchat-0.2.10.dist-info/entry_points.txt,sha256=Glu9CHUNBjYbZXTQc3YW2rZFr2S_3AvqKu50gj3aWT4,50
|
||||
devchat/__init__.py,sha256=nFQCLcJgn6getUyK3AsqtG5j87qLKeBEA3YtgnYn8nU,146
|
||||
devchat/__main__.py,sha256=RY7_u5N5S0Ye2YtBWeYkk9n8zia_z9oe3DnS1SHRxZA,110
|
||||
devchat/__main__.py,sha256=TquPb89yXLqmeFhTShJqG1AM0tViJdOz_-CJdbo5w6Y,135
|
||||
devchat/__pycache__/__init__.cpython-38.pyc,,
|
||||
devchat/__pycache__/__main__.cpython-38.pyc,,
|
||||
devchat/__pycache__/assistant.cpython-38.pyc,,
|
||||
@ -150,4 +150,4 @@ devchat/workflow/path.py,sha256=VOZbxZxUFYAgiD-FgXsLkSrKq4g_xyb0KLBIGuyvE8Y,1355
|
||||
devchat/workflow/schema.py,sha256=FFqF0qJzr5gP9X3KefcA630kBKonC-Mn0TeyJGuXeVE,1674
|
||||
devchat/workflow/step.py,sha256=zs1k0LtjtBa4pD5hZCzw_ubDXv7osq9WAicEWtLALF4,5725
|
||||
devchat/workflow/user_setting.py,sha256=4OiV5s3RuO84fiJPdR_QY4bOJYP6g_68hkrdVQUVahQ,624
|
||||
devchat/workflow/workflow.py,sha256=At7YIjit6Cylcyubfy3yDckRSsyGotbjW-hEvgnA4lA,7259
|
||||
devchat/workflow/workflow.py,sha256=xKTFMDWm9l06QDBPfTPqXDXfcKVcKFP1PEM3NzqOKHk,7259
|
||||
|
@ -3,4 +3,4 @@ import sys
|
||||
if __name__ == "__main__":
|
||||
from devchat._cli.main import main as _main
|
||||
|
||||
sys.exit(_main())
|
||||
sys.exit(_main(windows_expand_args=False))
|
||||
|
@ -127,7 +127,7 @@ class Workflow:
|
||||
# Use the external python set in the user settings
|
||||
workflow_py = EXTERNAL_ENVS[pyconf.env_name].python_bin
|
||||
print(
|
||||
"\n```Step\n# Using exteranl Python from user settings\n",
|
||||
"\n```Step\n# Using external Python from user settings\n",
|
||||
flush=True,
|
||||
)
|
||||
print(f"env_name: {pyconf.env_name}")
|
||||
|
@ -1,6 +1,6 @@
|
||||
Metadata-Version: 2.3
|
||||
Name: openai
|
||||
Version: 1.30.1
|
||||
Version: 1.30.2
|
||||
Summary: The official Python library for the openai API
|
||||
Project-URL: Homepage, https://github.com/openai/openai-python
|
||||
Project-URL: Repository, https://github.com/openai/openai-python
|
@ -1,10 +1,10 @@
|
||||
../../../bin/openai,sha256=OM6FORuLrwfh02Zj_-DY6nOIKjU9ftrONpb5slPZlhM,253
|
||||
openai-1.30.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
openai-1.30.1.dist-info/METADATA,sha256=DzzOq2T6f1fkTmkYH-M9wfjpZaIaWqkvBjG6rnWBqDw,21941
|
||||
openai-1.30.1.dist-info/RECORD,,
|
||||
openai-1.30.1.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
||||
openai-1.30.1.dist-info/entry_points.txt,sha256=kAYhQEmziJwsKs5raYAIOvJ2LWmbz5dulEXOzsY71ro,43
|
||||
openai-1.30.1.dist-info/licenses/LICENSE,sha256=d0M6HDjQ76tf255XPlAGkIoECMe688MXcGEYsOFySfI,11336
|
||||
openai-1.30.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
openai-1.30.2.dist-info/METADATA,sha256=2_K7cWr78UY6Y5bPiYjPGqJT1mP7MlwC7yykiXMHJv4,21941
|
||||
openai-1.30.2.dist-info/RECORD,,
|
||||
openai-1.30.2.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
||||
openai-1.30.2.dist-info/entry_points.txt,sha256=kAYhQEmziJwsKs5raYAIOvJ2LWmbz5dulEXOzsY71ro,43
|
||||
openai-1.30.2.dist-info/licenses/LICENSE,sha256=d0M6HDjQ76tf255XPlAGkIoECMe688MXcGEYsOFySfI,11336
|
||||
openai/__init__.py,sha256=hTM-EsfeafKBLu-n5AVSQVDB2MMBGnZoLtATFeW-OL0,10007
|
||||
openai/__main__.py,sha256=bYt9eEaoRQWdejEHFD8REx9jxVEdZptECFsV7F49Ink,30
|
||||
openai/__pycache__/__init__.cpython-38.pyc,,
|
||||
@ -64,7 +64,7 @@ openai/_utils/_sync.py,sha256=8zEEYfir8iCUcAMFtWd8cDi8NVEaZonc4sfLAYr16io,2269
|
||||
openai/_utils/_transform.py,sha256=NCz3q9_O-vuj60xVe-qzhEQ8uJWlZWJTsM-GwHDccf8,12958
|
||||
openai/_utils/_typing.py,sha256=tFbktdpdHCQliwzGsWysgn0P5H0JRdagkZdb_LegGkY,3838
|
||||
openai/_utils/_utils.py,sha256=1_mm0IcPWDckpwQrb5chWTqeG7JWst_ycXaoFUTXbzE,11497
|
||||
openai/_version.py,sha256=K2r2kM0eNbvNjtxPpgtRbJoHYQWganeQIMbwtYW_BDA,159
|
||||
openai/_version.py,sha256=KR698byMfZNgmS3Ui6IkV7KluC41kN-jsUmpQzsIxxo,159
|
||||
openai/cli/__init__.py,sha256=soGgtqyomgddl92H0KJRqHqGuaXIaghq86qkzLuVp7U,31
|
||||
openai/cli/__pycache__/__init__.cpython-38.pyc,,
|
||||
openai/cli/__pycache__/_cli.cpython-38.pyc,,
|
@ -1,4 +1,4 @@
|
||||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
||||
|
||||
__title__ = "openai"
|
||||
__version__ = "1.30.1" # x-release-please-version
|
||||
__version__ = "1.30.2" # x-release-please-version
|
||||
|
@ -1,6 +1,6 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: requests
|
||||
Version: 2.32.1
|
||||
Version: 2.32.2
|
||||
Summary: Python HTTP for Humans.
|
||||
Home-page: https://requests.readthedocs.io
|
||||
Author: Kenneth Reitz
|
||||
@ -8,7 +8,6 @@ Author-email: me@kennethreitz.org
|
||||
License: Apache-2.0
|
||||
Project-URL: Documentation, https://requests.readthedocs.io
|
||||
Project-URL: Source, https://github.com/psf/requests
|
||||
Platform: UNKNOWN
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Environment :: Web Environment
|
||||
Classifier: Intended Audience :: Developers
|
||||
@ -118,5 +117,3 @@ git config --global fetch.fsck.badTimezone ignore
|
||||
---
|
||||
|
||||
[](https://kennethreitz.org) [](https://www.python.org/psf)
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
requests-2.32.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
requests-2.32.1.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
|
||||
requests-2.32.1.dist-info/METADATA,sha256=-2Pb8Hsd8IM4CvvymC5LfSUoNfuBX448sHLtp9_HBZg,4630
|
||||
requests-2.32.1.dist-info/RECORD,,
|
||||
requests-2.32.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
||||
requests-2.32.1.dist-info/top_level.txt,sha256=fMSVmHfb5rbGOo6xv-O_tUX6j-WyixssE-SnwcDRxNQ,9
|
||||
requests-2.32.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
requests-2.32.2.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
|
||||
requests-2.32.2.dist-info/METADATA,sha256=MHhYw_HeCA9Vd-ZGjXa5fcwFzTcN7YJ34XL88bHEmi0,4610
|
||||
requests-2.32.2.dist-info/RECORD,,
|
||||
requests-2.32.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
||||
requests-2.32.2.dist-info/top_level.txt,sha256=fMSVmHfb5rbGOo6xv-O_tUX6j-WyixssE-SnwcDRxNQ,9
|
||||
requests/__init__.py,sha256=4xaAERmPDIBPsa2PsjpU9r06yooK-2mZKHTZAhWRWts,5072
|
||||
requests/__pycache__/__init__.cpython-38.pyc,,
|
||||
requests/__pycache__/__version__.cpython-38.pyc,,
|
||||
@ -23,9 +23,9 @@ requests/__pycache__/sessions.cpython-38.pyc,,
|
||||
requests/__pycache__/status_codes.cpython-38.pyc,,
|
||||
requests/__pycache__/structures.cpython-38.pyc,,
|
||||
requests/__pycache__/utils.cpython-38.pyc,,
|
||||
requests/__version__.py,sha256=AP1YvUEKjAg3Z6Z3lkPnFRGTCYoByjVfzsJzjCdEkUU,435
|
||||
requests/__version__.py,sha256=y2HyN_RyS717n28XyZQNO7rR4xnuXq-Uh74jBgFHGE0,435
|
||||
requests/_internal_utils.py,sha256=nMQymr4hs32TqVo5AbCrmcJEhvPUh7xXlluyqwslLiQ,1495
|
||||
requests/adapters.py,sha256=baufuIQxmY4sKNefXTkHyUJR9ipzJAe80SRWT5KyBVQ,22721
|
||||
requests/adapters.py,sha256=-qb2_zoNTnqXWn67yhuNj7Cm2zzLZTHHKXT7KPyZfr0,23949
|
||||
requests/api.py,sha256=_Zb9Oa7tzVIizTKwFrPjDEY9ejtm_OnSRERnADxGsQs,6449
|
||||
requests/auth.py,sha256=kF75tqnLctZ9Mf_hm9TZIj4cQWnN5uxRz8oWsx5wmR0,10186
|
||||
requests/certs.py,sha256=Z9Sb410Anv6jUFTyss0jFFhU6xst8ctELqfy8Ev23gw,429
|
@ -5,8 +5,8 @@
|
||||
__title__ = "requests"
|
||||
__description__ = "Python HTTP for Humans."
|
||||
__url__ = "https://requests.readthedocs.io"
|
||||
__version__ = "2.32.1"
|
||||
__build__ = 0x023201
|
||||
__version__ = "2.32.2"
|
||||
__build__ = 0x023202
|
||||
__author__ = "Kenneth Reitz"
|
||||
__author_email__ = "me@kennethreitz.org"
|
||||
__license__ = "Apache-2.0"
|
||||
|
@ -9,6 +9,7 @@ and maintain connections.
|
||||
import os.path
|
||||
import socket # noqa: F401
|
||||
import typing
|
||||
import warnings
|
||||
|
||||
from urllib3.exceptions import ClosedPoolError, ConnectTimeoutError
|
||||
from urllib3.exceptions import HTTPError as _HTTPError
|
||||
@ -374,10 +375,20 @@ class HTTPAdapter(BaseAdapter):
|
||||
|
||||
return response
|
||||
|
||||
def _get_connection(self, request, verify, proxies=None, cert=None):
|
||||
# Replace the existing get_connection without breaking things and
|
||||
# ensure that TLS settings are considered when we interact with
|
||||
# urllib3 HTTP Pools
|
||||
def get_connection_with_tls_context(self, request, verify, proxies=None, cert=None):
|
||||
"""Returns a urllib3 connection for the given request and TLS settings.
|
||||
This should not be called from user code, and is only exposed for use
|
||||
when subclassing the :class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
|
||||
|
||||
:param request: The :class:`PreparedRequest <PreparedRequest>` object
|
||||
to be sent over the connection.
|
||||
:param verify: Either a boolean, in which case it controls whether
|
||||
we verify the server's TLS certificate, or a string, in which case it
|
||||
must be a path to a CA bundle to use.
|
||||
:param proxies: (optional) The proxies dictionary to apply to the request.
|
||||
:param cert: (optional) Any user-provided SSL certificate to be trusted.
|
||||
:rtype: urllib3.ConnectionPool
|
||||
"""
|
||||
proxy = select_proxy(request.url, proxies)
|
||||
try:
|
||||
host_params, pool_kwargs = _urllib3_request_context(request, verify, cert)
|
||||
@ -404,7 +415,10 @@ class HTTPAdapter(BaseAdapter):
|
||||
return conn
|
||||
|
||||
def get_connection(self, url, proxies=None):
|
||||
"""Returns a urllib3 connection for the given URL. This should not be
|
||||
"""DEPRECATED: Users should move to `get_connection_with_tls_context`
|
||||
for all subclasses of HTTPAdapter using Requests>=2.32.2.
|
||||
|
||||
Returns a urllib3 connection for the given URL. This should not be
|
||||
called from user code, and is only exposed for use when subclassing the
|
||||
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
|
||||
|
||||
@ -412,6 +426,15 @@ class HTTPAdapter(BaseAdapter):
|
||||
:param proxies: (optional) A Requests-style dictionary of proxies used on this request.
|
||||
:rtype: urllib3.ConnectionPool
|
||||
"""
|
||||
warnings.warn(
|
||||
(
|
||||
"`get_connection` has been deprecated in favor of "
|
||||
"`get_connection_with_tls_context`. Custom HTTPAdapter subclasses "
|
||||
"will need to migrate for Requests>=2.32.2. Please see "
|
||||
"https://github.com/psf/requests/pull/6710 for more details."
|
||||
),
|
||||
DeprecationWarning,
|
||||
)
|
||||
proxy = select_proxy(url, proxies)
|
||||
|
||||
if proxy:
|
||||
@ -529,7 +552,9 @@ class HTTPAdapter(BaseAdapter):
|
||||
"""
|
||||
|
||||
try:
|
||||
conn = self._get_connection(request, verify, proxies=proxies, cert=cert)
|
||||
conn = self.get_connection_with_tls_context(
|
||||
request, verify, proxies=proxies, cert=cert
|
||||
)
|
||||
except LocationValueError as e:
|
||||
raise InvalidURL(e, request=request)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user