Skip to content

Commit

Permalink
pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 17, 2023
1 parent 3080df4 commit 8e21684
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
6 changes: 3 additions & 3 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
*Bug tracker at https://github.com/giampaolo/psutil/issues*

5.9.7 (IN DEVELOPMENT)
======================
5.9.7
=====

XXXX-XX-XX
2023-12-17

**Enhancements**

Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -277,18 +277,18 @@ pre-release: ## Check if we're ready to produce a new release.
res = requests.get('https://pypi.org/pypi/psutil/json', timeout=5); \
versions = sorted(res.json()['releases'], key=parse, reverse=True); \
sys.exit('version %r already exists on PYPI' % __version__) if __version__ in versions else 0"
${MAKE} download-wheels-github
${MAKE} download-wheels-appveyor
${MAKE} check-wheels
${MAKE} print-hashes
${MAKE} print-dist
$(PYTHON) -c \
"from psutil import __version__ as ver; \
doc = open('docs/index.rst').read(); \
history = open('HISTORY.rst').read(); \
assert ver in doc, '%r not in docs/index.rst' % ver; \
assert ver in history, '%r not in HISTORY.rst' % ver; \
assert 'XXXX' not in history, 'XXXX in HISTORY.rst';"
${MAKE} download-wheels-github
${MAKE} download-wheels-appveyor
${MAKE} check-wheels
${MAKE} print-hashes
${MAKE} print-dist

release: ## Upload a new release.
${MAKE} check-sdist
Expand Down
4 changes: 4 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2650,6 +2650,10 @@ PyPy3.
Timeline
========

- 2023-12-17:
`5.9.7 <https://pypi.org/project/psutil/5.9.7/#files>`__ -
`what's new <https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#596>`__ -
`diff <https://github.com/giampaolo/psutil/compare/release-5.9.6...release-5.9.7#files_bucket>`__
- 2023-10-15:
`5.9.6 <https://pypi.org/project/psutil/5.9.6/#files>`__ -
`what's new <https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#596>`__ -
Expand Down
2 changes: 1 addition & 1 deletion psutil/_psutil_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ int PSUTIL_DEBUG = 0;
// --- Backward compatibility with missing Python.h APIs
// ====================================================================

// PyPy on Windows
// PyPy on Windows. Missing APIs added in PyPy 7.3.14.
#if defined(PSUTIL_WINDOWS) && defined(PYPY_VERSION)
#if !defined(PyErr_SetFromWindowsErrWithFilename)
PyObject *
Expand Down

0 comments on commit 8e21684

Please sign in to comment.