File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -368,9 +368,9 @@ def test_lockfile_generation(tmp_path, setup_targets_dir):
368368 lock_files = list (fake_resolved_dir .glob ("*.txt" ))
369369 assert lock_files , "No lock files generated"
370370 lockfile_map = {lock_file .name : lock_file .read_text ().strip () for lock_file in lock_files }
371- linux_x86_64_lockfile = lockfile_map ["linux-x86_64_3.12 .txt" ]
371+ linux_x86_64_lockfile = lockfile_map [f "linux-x86_64_ { upload . CURRENT_PYTHON_VERSION } .txt" ]
372372 assert linux_x86_64_lockfile == f'existing @ https://agent-int-packages.datadoghq.com/built/existing/existing-1.1.1-{ frozen_timestamp } -cp312-cp312-manylinux2010_x86_64.whl#sha256=built-hash'
373- linux_aarch64_lockfile = lockfile_map ["linux-aarch64_3.12 .txt" ]
373+ linux_aarch64_lockfile = lockfile_map [f "linux-aarch64_ { upload . CURRENT_PYTHON_VERSION } .txt" ]
374374 assert linux_aarch64_lockfile == f'existing @ https://agent-int-packages.datadoghq.com/built/existing/existing-1.1.1-{ frozen_timestamp } -cp312-cp312-manylinux2010_aarch64.whl#sha256=built-hash'
375375 assert len (lock_files ) == 2
376376
Original file line number Diff line number Diff line change 2525CACHE_CONTROL = 'public, max-age=15'
2626VALID_PROJECT_NAME = re .compile (r'^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$' , re .IGNORECASE )
2727UNNORMALIZED_PROJECT_NAME_CHARS = re .compile (r'[-_.]+' )
28- CURRENT_PYTHON_VERSION = "3.12 "
28+ CURRENT_PYTHON_VERSION = "3.13 "
2929
3030def is_valid_project_name (project_name : str ) -> bool :
3131 # https://peps.python.org/pep-0508/#names
You can’t perform that action at this time.
0 commit comments