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

Drop runtime dependency to setuptools #6017

Merged
merged 2 commits into from
Mar 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ repos:
- types-requests
- types-paramiko
- types-PyYAML
- types-setuptools
- types-psutil
# Typed libraries
- numpy
Expand Down
1 change: 1 addition & 0 deletions continuous_integration/recipes/dask/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ build:
requirements:
host:
- python >=3.8
- setuptools
run:
- python >=3.8
- dask-core >={{ dask_version }}
Expand Down
5 changes: 3 additions & 2 deletions continuous_integration/recipes/distributed/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,12 @@ outputs:
build:
- {{ compiler('c') }} # [cython_enabled]
host:
- python
- python >=3.8
- pip
- setuptools
- cython # [cython_enabled]
run:
- python
- python >=3.8
- click >=6.6
- cloudpickle >=1.5.0
- cytoolz >=0.8.2
Expand Down
7 changes: 4 additions & 3 deletions distributed/tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,8 @@ def g():

@gen_cluster(client=True)
async def test_upload_file_egg(c, s, a, b):
pytest.importorskip("setuptools")

def g():
import package_1
import package_2
Expand All @@ -1657,9 +1659,8 @@ def g():
with open(os.path.join(dirname, "setup.py"), "w") as f:
f.write("from setuptools import setup, find_packages\n")
f.write(
'setup(name="my_package", packages=find_packages(), version="{}")\n'.format(
value
)
'setup(name="my_package", packages=find_packages(), '
f'version="{value}")\n'
)

# test a package with an underscore in the name
Expand Down