Skip to content

Commit

Permalink
Merge pull request #69 from DavidCain/dcain-unpin-urllib3
Browse files Browse the repository at this point in the history
Stop pinning urllib3 (only done for testing dep)
  • Loading branch information
ahwagner authored Oct 29, 2024
2 parents 24ab088 + a9d1eb5 commit 7f44b4d
Show file tree
Hide file tree
Showing 6 changed files with 396 additions and 1,256 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SHELL:=/bin/bash -e -o pipefail
SELF:=$(firstword $(MAKEFILE_LIST))

PY_VERSION:=$(shell python3 --version | cut -d" " -f2 | cut -d. -f1-2)
VE_DIR=venv
VE_DIR=venv/${PY_VERSION}

$(info Using Python ${PY_VERSION})

Expand Down Expand Up @@ -38,12 +38,12 @@ devready:
@echo '#################################################################################'

#=> venv: make a Python 3 virtual environment
venv: ${VE_DIR}
${VE_DIR}: venv/%:
python$* -mvenv $@; \
.PHONY: venv/%
venv/%:
python$* -m venv $@; \
source $@/bin/activate; \
python -m ensurepip --upgrade; \
pip install --upgrade pip setuptools wheel
pip install --upgrade pip setuptools

#=> develop: install package in develop mode
#=> develop: install package in develop mode
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dynamic = ["version"]
dependencies = [
"attrs",
"requests",
"urllib3~=1.26",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -74,8 +73,8 @@ doctest_optionflags = [
"NORMALIZE_WHITESPACE",
]
markers = [
"network: tests that require network connectivity",
"slow: slow tests that should be run infrequently",
"network: tests that require network connectivity",
"slow: slow tests that should be run infrequently",
]
testpaths = [
"tests"
Expand Down
Loading

0 comments on commit 7f44b4d

Please sign in to comment.