Skip to content

Commit

Permalink
Merge pull request #1641 from braingram/py312
Browse files Browse the repository at this point in the history
Add support for python 3.12
  • Loading branch information
braingram authored Sep 11, 2023
2 parents 7a522b3 + d1c3c44 commit b14591c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The ASDF Standard is at v1.6.0
``asdf.tags.core.Stream``, update block storage support for
Converter and update internal block API [#1537]
- Remove deprecated resolve_local_refs argument to load_schema [#1623]
- Add support for python 3.12 [#1641]

2.15.1 (2023-08-07)
-------------------
Expand Down
4 changes: 2 additions & 2 deletions asdf/asdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1336,8 +1336,8 @@ def add_history_entry(self, description, software=None):
elif software is not None:
software = Software(software)

time_ = datetime.datetime.utcfromtimestamp(
int(os.environ.get("SOURCE_DATE_EPOCH", time.time())),
time_ = datetime.datetime.fromtimestamp(
int(os.environ.get("SOURCE_DATE_EPOCH", time.time())), datetime.timezone.utc
)

entry = HistoryEntry(
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ classifiers = [
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
dynamic = [
'version',
Expand Down

0 comments on commit b14591c

Please sign in to comment.