[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] 28 commits: feat(checks): stop using `datetime.datetime.utcnow()`



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

  • a73d7b02
    by Ansgar at 2025-12-30T12:44:18+01:00
    feat(checks): stop using `datetime.datetime.utcnow()`
    
    This addresses the following warning:
    
    ```
    /dak/daklib/checks.py:250: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
      now = datetime.datetime.utcnow()
    ```
    
  • a93396f8
    by Ansgar at 2025-12-30T12:44:28+01:00
    feat(gpg): stop using `datetime.datetime.utcfromtimestamp()`
    
    This addresses the following warning:
    
    ```
    /dak/daklib/gpg.py:274: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
      return datetime.datetime.utcfromtimestamp(int(timestamp))
    ```
    
  • 00b87c08
    by Ansgar at 2025-12-30T12:44:29+01:00
    chore(tests): remove unused variable `all_tables`
    
  • 9bb75a08
    by Ansgar at 2025-12-30T12:44:29+01:00
    fix(archive): correct type annotation for `ArchiveUpload._run_checks`
    
  • ef3375dd
    by Ansgar at 2025-12-30T12:44:30+01:00
    fix(integration-tests): add archs, components to newly created "embargoed" suite
    
  • 3b806050
    by Ansgar at 2025-12-30T12:44:31+01:00
    fix: use `sqlalchemy.sql.text` in more places
    
    This is required by newer SQLAlchemy versions.
    
  • bcee480c
    by Ansgar at 2025-12-30T12:44:32+01:00
    feat: add some more type annotations
    
  • 71264c93
    by Ansgar at 2025-12-30T12:44:32+01:00
    feat: use `sqlalchemy.engine.Result.mappings()` where needed
    
    This is required by newer SQLAlchemy versions.
    
  • b6ab782c
    by Ansgar at 2025-12-30T12:44:33+01:00
    fix: explicitly add additional source to session
    
    This is required by newer SQLAlchemy versions.
    
  • 1c4718b3
    by Ansgar at 2025-12-30T12:44:34+01:00
    fix: change when new objects are added to session
    
    This silences warnings from newer SQLAlchemy versions.
    
  • e86aab85
    by Ansgar at 2025-12-30T12:44:34+01:00
    chore: remove unused daklib.database.all module
    
  • 7467ba32
    by Ansgar at 2025-12-30T12:44:35+01:00
    fix(acl): correct type annotation for `get_fingerprint`
    
  • 80f2478e
    by Ansgar at 2025-12-30T12:44:36+01:00
    feat(ci): upgrade to Debian trixie
    
  • 2baae151
    by Ansgar at 2025-12-30T12:44:36+01:00
    feat: changes for SQLAlchemy 2
    
  • b8b06366
    by Ansgar at 2025-12-30T12:44:37+01:00
    feat(gpg): add "FAILURE" keyword
    
  • 146eefad
    by Ansgar at 2025-12-30T12:44:37+01:00
    feat(ci): automatically cancel jobs on new commit
    
  • 229b0452
    by Ansgar at 2025-12-30T12:44:38+01:00
    feat(ci): extract coverage percentage
    
  • d919ae19
    by Ansgar at 2025-12-30T12:44:39+01:00
    feat(ci): add machine-readable output for ruff
    
  • 2f29a2fd
    by Ansgar at 2025-12-30T12:44:39+01:00
    feat(ci): add machine-readable coverage report
    
  • 8c397757
    by Ansgar at 2025-12-30T12:44:40+01:00
    feat: add Mypy configuration
    
  • 493e3813
    by Ansgar at 2025-12-30T12:44:41+01:00
    feat: use `typing.override`
    
  • 16a10cda
    by Ansgar at 2025-12-30T12:45:18+01:00
    fix(check_signature_timestamp): add missing return statement
    
  • 88ba10eb
    by Ansgar at 2025-12-30T12:45:30+01:00
    feat: improve type annotations for global variables
    
  • ff4c8d98
    by Ansgar at 2025-12-30T12:45:30+01:00
    fix: add type ignore hints for `apt_pkg`
    
  • c8ee9840
    by Ansgar at 2025-12-30T12:45:31+01:00
    feat: improve type annotations
    
  • b2291293
    by Ansgar at 2025-12-30T12:45:32+01:00
    feat(pyproject.toml): add project information
    
  • 02169e4d
    by Ansgar at 2025-12-30T12:45:32+01:00
    chore: code formatting changes
    
  • 117a4621
    by Ansgar at 2025-12-30T12:45:56+01:00
    feat(sync-dd): temporarily skip code sync
    

93 changed files:

The diff was not included because it is too large.

Reply to: