Skip to content

Commit adb241f

Browse files
authored
Merge pull request #217 from SEI-gstrom/version/3.0.36
Upgrade VINCE to 3.0.36
2 parents eb9bd92 + 49c9d3c commit adb241f

10 files changed

Lines changed: 48 additions & 33 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ venv*
2727
# claude stuff
2828
.devcontainer
2929
.claude
30-
.claudeignore
30+
.claudeignore
31+
32+
# references folder
33+
references/

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ VINCE Coordination platform code
77
## Description
88
VINCE Coordination platform
99

10+
Version 3.0.36 2026-04-20
11+
12+
* dependabot update recommendation: `sqlparse` 0.5.0 to 0.5.4, `PyJWT` 2.6.0 to 2.12.0, `markdown` 3.5 to 3.8.1, `pyasn1` 0.4.8 to 0.6.3, `awscli` 1.26.85 to 1.44.38, `Django` 4.2.28 to 4.2.30, `cryptography` 46.0.6 to 46.0.7
13+
* updated `python-jose` 3.4.0 to 3.5.0, `botocore` 1.31.85 to 1.42.48, `docutils` 0.16 to 0.18.1, `s3transfer` 0.7.0 to 0.16.0, `boto3` 1.28.85 to 1.42.48, `typing-extensions` 4.4.0 to 4.9.0, `M2Crypto` 0.38.0 to 0.47.0 (Internal-841)
14+
* added `setuptools` >=65.0.0,<81 (Internal-841)
15+
* tweaked code in various files to prepare for upgrade to Python 3.12 (Internal-841)
16+
17+
1018
Version 3.0.35 2026-03-30
1119

1220
* dependabot update recommendation: `requests` 2.23.4 to 2.33.0, `ecdsa` 0.18.0 to 0.19.2, `cryptography` 44.0.1 to 46.0.6

bakery/management/commands/publish.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def get_md5(self, filename):
333333
Returns the md5 checksum of the provided file name.
334334
"""
335335
with self.fs.open(filename, "rb") as f:
336-
m = hashlib.md5(f.read())
336+
m = hashlib.md5(f.read(), usedforsecurity=False)
337337
return m.hexdigest()
338338

339339
def get_multipart_md5(self, filename, chunk_size=8 * 1024 * 1024):
@@ -352,13 +352,13 @@ def get_multipart_md5(self, filename, chunk_size=8 * 1024 * 1024):
352352
if not data:
353353
break
354354
# Generate a md5 hash for each chunk
355-
md5s.append(hashlib.md5(data))
355+
md5s.append(hashlib.md5(data, usedforsecurity=False))
356356

357357
# Combine the chunks
358358
digests = b"".join(m.digest() for m in md5s)
359359

360360
# Generate a new hash using them
361-
new_md5 = hashlib.md5(digests)
361+
new_md5 = hashlib.md5(digests, usedforsecurity=False)
362362

363363
# Create the ETag as Amazon will
364364
new_etag = '"%s-%s"' % (new_md5.hexdigest(), len(md5s))

bigvince/settings_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
ROOT_DIR = environ.Path(__file__) - 3
5555

5656
# any change that requires database migrations is a minor release
57-
VERSION = "3.0.35"
57+
VERSION = "3.0.36"
5858

5959
# Quick-start development settings - unsuitable for production
6060
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/

cdk/lambda/CreateDatabases/requests/auth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _basic_auth_str(username, password):
5050
"Non-string passwords will no longer be supported in Requests "
5151
"3.0.0. Please convert the object you've passed in ({!r}) to "
5252
"a string or bytes object in the near future to avoid "
53-
"problems.".format(password),
53+
"problems.".format(type(password)),
5454
category=DeprecationWarning,
5555
)
5656
password = str(password)
@@ -145,7 +145,7 @@ def build_digest_header(self, method, url):
145145
def md5_utf8(x):
146146
if isinstance(x, str):
147147
x = x.encode('utf-8')
148-
return hashlib.md5(x).hexdigest()
148+
return hashlib.md5(x, usedforsecurity=False).hexdigest()
149149
hash_utf8 = md5_utf8
150150
elif _algorithm == 'SHA':
151151
def sha_utf8(x):
@@ -239,7 +239,7 @@ def handle_401(self, r, **kwargs):
239239
"""
240240

241241
# If response is not 4xx, do not auth
242-
# See https://github.com/requests/requests/issues/3772
242+
# See https://github.com/psf/requests/issues/3772
243243
if not 400 <= r.status_code < 500:
244244
self._thread_local.num_401_calls = 1
245245
return r

lib/warrant/aws_srp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def process_challenge(self, challenge_parameters):
189189
# re strips leading zero from a day number (required by AWS Cognito)
190190
with temp_locale(('en_US', 'UTF-8')):
191191
timestamp = re.sub(r" 0(\d) ", r" \1 ",
192-
datetime.datetime.utcnow().strftime("%a %b %d %H:%M:%S UTC %Y"))
192+
datetime.datetime.now(datetime.timezone.utc).strftime("%a %b %d %H:%M:%S UTC %Y"))
193193
hkdf = self.get_password_authentication_key(user_id_for_srp,
194194
self.password, hex_to_long(srp_b_hex), salt_hex)
195195
secret_block_bytes = base64.standard_b64decode(secret_block_b64)

requirements.txt

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ asgiref==3.6.0
44
asn1crypto==1.5.1
55
async-timeout==4.0.2
66
attrs==22.1.0
7-
awscli==1.29.85
7+
awscli==1.44.38
88
backports.zoneinfo;python_version<"3.9"
99
beautifulsoup4==4.11.1
1010
billiard==4.0.2
1111
bleach==5.0.1
1212
bleach-whitelist==0.0.11
1313
boto==2.49.0
14-
boto3==1.28.85
15-
botocore==1.31.85
14+
boto3==1.42.48
15+
botocore==1.42.48
1616
cached-property==1.5.2
1717
certifi==2024.7.4
1818
cffi==2.0.0
1919
chardet==5.0.0
2020
charset-normalizer==2.1.1
2121
click==8.1.3
2222
colorama==0.4.4
23-
cryptography==46.0.6
23+
cryptography==46.0.7
2424
cvelib==1.3.0
2525
Deprecated==1.2.13
2626
dictdiffer==0.9.0
27-
Django==4.2.28
27+
Django==4.2.30
2828
django-appconf==1.0.5
2929
django-countries==7.4.2
3030
django-environ==0.9.0
@@ -34,7 +34,7 @@ django-ses==3.5.0
3434
django-storages==1.13.1
3535
django-widget-tweaks==1.4.12
3636
djangorestframework==3.14.0
37-
docutils==0.16
37+
docutils==0.18.1
3838
ecdsa==0.19.2
3939
envs==1.4
4040
fs==2.4.16
@@ -47,38 +47,39 @@ pip-install==1.3.5
4747
jmespath==1.0.1
4848
jsonschema==4.17.0
4949
kombu==5.2.4
50-
M2Crypto==0.38.0
51-
Markdown==3.5
50+
M2Crypto==0.47.0
51+
Markdown==3.8.1
5252
openpyxl==3.1.5
5353
packaging==22.0
5454
pinax-messages==3.0.0
5555
pip-autoremove==0.10.0
5656
pkgutil-resolve-name==1.3.10
5757
psycopg2==2.9.9
5858
psycopg2-binary==2.9.5
59-
pyasn1==0.4.8
59+
pyasn1==0.6.3
6060
pycparser==2.21
6161
pycryptodome==3.19.1
6262
pydantic==1.10.13
63-
PyJWT==2.6.0
63+
PyJWT==2.12.0
6464
pyparsing==3.0.9
6565
pyrsistent==0.19.2
6666
python-dateutil==2.8.2
6767
python-gnupg==0.5.0
68-
python-jose==3.4.0
68+
python-jose==3.5.0
6969
pytz==2022.6
7070
PyYAML==6.0.1
7171
qrcode==7.3.1
7272
redis==4.5.4
7373
requests==2.33.0
7474
rsa==4.7.2
75-
s3transfer==0.7.0
75+
s3transfer==0.16.0
7676
segno==1.5.2
77+
setuptools>=65.0.0,<81
7778
simplejson==3.18.0
7879
six==1.16.0
7980
soupsieve==2.3.2.post1
80-
sqlparse==0.5.0
81-
typing-extensions==4.4.0
81+
sqlparse==0.5.4
82+
typing-extensions>=4.9.0
8283
# (urllib3 is currently at 1.26.19. Dependabot recommends urllib3 2.6.3, but that breaks when combined with any currently available version of botocore.)
8384
urllib3==1.26.19
8485
vine==5.0.0

vince/lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def get_parameter(param):
128128

129129

130130
def md5_file(f):
131-
hash_md5 = hashlib.md5()
131+
hash_md5 = hashlib.md5(usedforsecurity=False)
132132
b = bytearray(128 * 1024)
133133
mv = memoryview(b)
134134
for n in iter(lambda: f.readinto(mv), 0):

vince/static/vince/css/style.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ h1.vince_login_logo {
144144
.announcement-banner {
145145
background-color: #b00;
146146
color: #fefefe;
147-
font-size: small;
147+
font-size: xx-large;
148148
padding-left: 20px;
149149
padding-right: 20px;
150150
}
@@ -173,7 +173,7 @@ h1.vince_login_logo {
173173
top: 0;
174174
left: 0;
175175
right: 0;
176-
font-size: small;
176+
font-size: xx-large;
177177
background-color: #b00;
178178
color: #fefefe;
179179
padding-left: 20px;
@@ -1431,7 +1431,7 @@ div.homelink a {
14311431
padding-right:0;
14321432
}
14331433

1434-
/* When putting up an announcement-banner, change padding-top for the following selectors to something appropriate, */
1434+
/* When putting up an announcement-banner, change padding-top for the following selectors to something appropriate, so that */
14351435
/* the sidebar menu does not get partially obscured by the banner when scrolling down, When the banner goes away, */
14361436
/* change it back to 150px and 130px respectively. */
14371437

@@ -1442,7 +1442,7 @@ div.homelink a {
14421442
border-right: 1px solid #c2c2c2;
14431443
color: #4d4d4f;
14441444
padding-top: 150px;
1445-
/* padding-top:340px; */
1445+
/* padding-top: 225px; */
14461446

14471447
}
14481448

@@ -1452,22 +1452,24 @@ div.homelink a {
14521452
border-right: 1px solid #c2c2c2;
14531453
background-color: #282829;
14541454
padding-top:130px;
1455+
/* padding-top: 205px; */
14551456

14561457
}
14571458

1458-
/* When putting up an announcement-banner, change top for the following selector to something appropriate, */
1459+
/* When putting up an announcement-banner, change top for the following two selectors to something appropriate, so that */
14591460
/* the sidebar menu does not get partially obscured by the banner when scrolling down. When the banner goes away, */
14601461
/* change it back to "0 !important". */
14611462

14621463
.less_padding {
14631464
top: 0 !important;
1464-
/* top: 340px !important; */
1465+
/* top: 225px !important; */
14651466
position: absolute;
14661467
width:100%;
14671468
}
14681469

14691470
.less_padding_vt {
14701471
top: 0px !important;
1472+
/* top: 225px !important; */
14711473
position: absolute;
14721474
width:100%;
14731475
}
@@ -1481,6 +1483,7 @@ div.homelink a {
14811483
border-right: 1px solid #c2c2c2;
14821484
color: #f1f1f2;
14831485
padding-top:130px;
1486+
/* padding-top: 225px; */
14841487

14851488
}
14861489

@@ -1489,7 +1492,7 @@ div.homelink a {
14891492
border-right: 1px solid #c2c2c2;
14901493
color: #4d4d4f;
14911494
padding-top: 150px;
1492-
/* padding-top:340px; */
1495+
/* padding-top:225px; */
14931496
}
14941497

14951498
/*.position-left.reveal-for-medium ~ .off-canvas-content {

vincepub/static/vincepub/css/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2716,7 +2716,7 @@ pre code {
27162716
.announcement-banner {
27172717
background-color: #b00;
27182718
color: #fefefe;
2719-
font-size: small;
2719+
font-size: xx-large;
27202720
padding-left: 20px;
27212721
padding-right: 20px;
27222722
border-top-style: solid;
@@ -2741,7 +2741,7 @@ pre code {
27412741
top: 0;
27422742
left: 0;
27432743
right: 0;
2744-
font-size: small;
2744+
font-size: xx-large;
27452745
background-color: #b00;
27462746
color: #fefefe;
27472747
padding-left: 20px;

0 commit comments

Comments
 (0)