Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 6.0.2 #819

Merged
merged 2 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
For a complete changelog, see:

* https://github.com/yaml/pyyaml/commits/
* https://bitbucket.org/xi/pyyaml/commits/

6.0.2rc1 (2024-06-10)
6.0.2 (2024-08-06)

* https://github.com/yaml/pyyaml/pull/808 -- Support for Cython 3.x and Python 3.13

Expand Down
2 changes: 1 addition & 1 deletion lib/yaml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from .loader import *
from .dumper import *

__version__ = '6.0.2rc1'
__version__ = '6.0.2'
try:
from .cyaml import *
__with_libyaml__ = True
Expand Down
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

NAME = 'PyYAML'
VERSION = '6.0.2rc1'
VERSION = '6.0.2'
DESCRIPTION = "YAML parser and emitter for Python"
LONG_DESCRIPTION = """\
YAML is a data serialization format designed for human readability
Expand Down Expand Up @@ -28,8 +28,6 @@
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down Expand Up @@ -300,6 +298,11 @@ def run(self):
tempdir = tempfile.TemporaryDirectory(prefix='test_pyyaml')

try:
warnings.warn(
"Direct invocation of `setup.py` is deprecated by `setuptools` and will be removed in a future release. PyYAML tests should be run via `pytest`.",
DeprecationWarning,
)

# have to create a subdir since we don't get dir_exists_ok on copytree until 3.8
temp_test_path = pathlib.Path(tempdir.name) / 'pyyaml'
shutil.copytree(build_cmd.build_lib, temp_test_path)
Expand Down Expand Up @@ -351,5 +354,5 @@ def run(self):

distclass=Distribution,
cmdclass=cmdclass,
python_requires='>=3.6',
python_requires='>=3.8',
)
Loading