Skip to content

Commit 063defe

Browse files
committed
Remove dev-latest optional dependency (PyPI rejects direct URLs)
PyPI does not allow packages with direct URL dependencies like git+https://... even when marked as optional extras. Remove: - dev-latest optional dependency from pyproject.toml - allow-direct-references from [tool.hatch.metadata] - install-dev-latest recipe from justfile The install-dev-local recipe remains for local cross-repo development. Note: This work was completed with AI assistance (Claude Code).
1 parent d76ab3f commit 063defe

2 files changed

Lines changed: 0 additions & 27 deletions

File tree

justfile

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -413,22 +413,6 @@ install-dev venv="": vendor-flatbuffers (create venv)
413413
# uv pip install --python "{{VENV_DIR}}/${VENV_NAME}/bin/python" -e .[all]
414414
${VENV_PYTHON} -m pip install -e .[all]
415415
416-
# Install with latest unreleased WAMP packages from GitHub (usage: `just install-dev-latest cpy312`)
417-
install-dev-latest venv="": vendor-flatbuffers (create venv)
418-
#!/usr/bin/env bash
419-
set -e
420-
VENV_NAME="{{ venv }}"
421-
if [ -z "${VENV_NAME}" ]; then
422-
echo "==> No venv name specified. Auto-detecting from system Python..."
423-
VENV_NAME=$(just --quiet _get-system-venv-name)
424-
echo "==> Defaulting to venv: '${VENV_NAME}'"
425-
fi
426-
VENV_PATH="{{ VENV_DIR }}/${VENV_NAME}"
427-
VENV_PYTHON=$(just --quiet _get-venv-python "${VENV_NAME}")
428-
echo "==> Installing package in editable mode with [dev,dev-latest] extras in ${VENV_NAME}..."
429-
echo "==> This will install WAMP packages from GitHub master (unreleased versions)..."
430-
${VENV_PYTHON} -m pip install -e .[all,dev,dev-latest]
431-
432416
# Install with locally editable WAMP packages for cross-repo development (usage: `just install-dev-local cpy312`)
433417
install-dev-local venv="": vendor-flatbuffers (create venv)
434418
#!/usr/bin/env bash

pyproject.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,6 @@ all = [
198198
# Backwards compatibility
199199
asyncio = []
200200

201-
# For testing with unreleased WAMP packages from GitHub master branches
202-
# Usage: pip install -e .[dev,dev-latest]
203-
# This installs the latest development versions from GitHub instead of PyPI
204-
dev-latest = [
205-
"txaio @ git+https://github.com/crossbario/txaio.git@master",
206-
]
207-
208201
[project.urls]
209202
"Homepage" = "https://autobahn.readthedocs.io/"
210203
"Source" = "https://github.com/crossbario/autobahn-python"
@@ -213,10 +206,6 @@ dev-latest = [
213206
wamp = "autobahn.__main__:_main"
214207

215208
# Hatchling build configuration
216-
[tool.hatch.metadata]
217-
# Allow git+https:// dependencies in dev-latest for cross-repo development
218-
allow-direct-references = true
219-
220209
[tool.hatch.build.targets.wheel]
221210
packages = ["src/autobahn", "src/twisted"]
222211

0 commit comments

Comments
 (0)