Skip to content

Commit c97f87e

Browse files
authored
ci: remove publish with name 'getdaft' (#4456)
## Changes Made With our upcoming v0.5 release, we will no longer publish to the PyPI package `getdaft`, and instead only publish to `daft` and `daft-lts`. This PR makes that change. ## Related Issues #3913 ## Checklist - [x] Documented in API Docs (if applicable) - [x] Documented in User Guide (if applicable) - [x] If adding a new documentation page, doc is added to `docs/mkdocs.yml` navigation - [x] Documentation builds and is formatted properly (tag @/ccmao1130 for docs review)
1 parent 199b1fa commit c97f87e

File tree

3 files changed

+1
-22
lines changed

3 files changed

+1
-22
lines changed

daft/__init__.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,6 @@ def refresh_logger() -> None:
5656
analytics_client.track_import()
5757
track_import_on_scarf()
5858

59-
###
60-
# Warn if using the old package name
61-
###
62-
try:
63-
if sys.version_info < (3, 10):
64-
from importlib_metadata import packages_distributions
65-
else:
66-
from importlib.metadata import packages_distributions
67-
68-
package_map = packages_distributions()
69-
if "getdaft" in package_map["daft"]:
70-
import warnings
71-
72-
warnings.warn(
73-
"The 'getdaft' PyPI package is migrating to `daft` and will no longer will receive updates v0.5.0 onwards.\nPlease install Daft via\n\t'pip install daft'"
74-
)
75-
except Exception:
76-
pass
77-
7859
###
7960
# Daft top-level imports
8061
###

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ dependencies = [
88
"pyarrow >= 8.0.0",
99
"fsspec",
1010
"tqdm",
11-
"typing-extensions >= 4.0.0; python_version < '3.10'",
12-
"importlib-metadata; python_version < '3.10'"
11+
"typing-extensions >= 4.0.0; python_version < '3.10'"
1312
]
1413
description = "Distributed Dataframes for Multimodal Data"
1514
dynamic = ["version"]

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ ipdb
33
maturin
44
pre-commit
55
docker
6-
importlib-metadata
76

87
# Pinned requests due to docker-py issue: https://github.com/docker/docker-py/issues/3256
98
requests<2.32.0

0 commit comments

Comments
 (0)