aboutcode-org / aboutcode-org/commoncode

Fix DeprecationWarning in timeutils.py and archive.py

オープン
#75 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue
主要言語
Python
スター
4
フォーク
23
PR マージ指標
30日以内にマージされた PR はありません

説明

```
commoncode/timeutils.py:61: 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).
datim = dt or datetime.utcnow()
```
```
commoncode/archive.py:61: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
tar.extractall(target_dir, members=to_extract)
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。