Skip to content

Commit 3096f13

Browse files
authored
Merge pull request #69 from lsst/u/timj/fix-25-pin
Fix pinning for v25 utils dependency
2 parents 2445ed4 + 7e57927 commit 3096f13

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

.github/workflows/build.yaml

+1-7
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ jobs:
3838
run: |
3939
conda install -y -q cryptography
4040
41-
- name: Install WebDAV packages for testing
42-
shell: bash -l {0}
43-
run: |
44-
pip install cheroot wsgidav
45-
4641
- name: Install google cloud storage for testing
4742
shell: bash -l {0}
4843
run: |
@@ -58,8 +53,7 @@ jobs:
5853
shell: bash -l {0}
5954
run: |
6055
conda install -y -q \
61-
"flake8<5" \
62-
pytest pytest-flake8 pytest-xdist pytest-openfiles pytest-cov
56+
pytest pytest-xdist pytest-openfiles pytest-cov
6357
6458
- name: List installed packages
6559
shell: bash -l {0}

pyproject.toml

+3-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ classifiers = [
2121
]
2222
keywords = ["lsst"]
2323
dependencies = [
24-
"lsst-utils",
24+
"lsst-utils >=25.0,<25.100",
2525
]
2626
dynamic = ["version"]
2727

@@ -36,16 +36,14 @@ s3 = [
3636
]
3737
https = [
3838
"requests >= 2.26.0",
39-
"urllib3 >= 1.25.10",
39+
"urllib3 >= 1.25.10,<2.0.0",
4040
"responses >= 0.12.0",
4141
]
4242
gs = [
4343
"google-cloud-storage",
4444
]
4545
test = [
4646
"pytest >= 3.2",
47-
"flake8 >= 3.7.5",
48-
"pytest-flake8 >= 1.0.4",
4947
"pytest-openfiles >= 0.5.0",
5048
]
5149

@@ -113,8 +111,7 @@ line_length = 110
113111
write_to = "python/lsst/resources/version.py"
114112

115113
[tool.pytest.ini_options]
116-
addopts = "--flake8"
117-
flake8-ignore = ["N802", "N803", "N806", "N812", "N815", "N816", "W503", "E203"]
114+
addopts = "--import-mode=importlib" # Recommended as best practice
118115

119116
[tool.pydocstyle]
120117
convention = "numpy"

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
git+https://github.com/lsst/utils@main#egg=lsst-utils
1+
git+https://github.com/lsst/utils@v25.0.x#egg=lsst-utils
22
# optional
33
backoff >= 1.10
44
boto3 >= 1.13
55
botocore >= 1.15
66
moto >= 1.3
77
responses >= 0.12.0
8-
urllib3 >= 1.25.10
8+
urllib3 >= 1.25.10, <2.0
99
requests >= 2.26.0

0 commit comments

Comments
 (0)