|
1 | 1 |
|
2 | 2 | NAME = 'PyYAML' |
3 | | -VERSION = '6.0.2rc1' |
| 3 | +VERSION = '6.0.2' |
4 | 4 | DESCRIPTION = "YAML parser and emitter for Python" |
5 | 5 | LONG_DESCRIPTION = """\ |
6 | 6 | YAML is a data serialization format designed for human readability |
|
28 | 28 | "Programming Language :: Cython", |
29 | 29 | "Programming Language :: Python", |
30 | 30 | "Programming Language :: Python :: 3", |
31 | | - "Programming Language :: Python :: 3.6", |
32 | | - "Programming Language :: Python :: 3.7", |
33 | 31 | "Programming Language :: Python :: 3.8", |
34 | 32 | "Programming Language :: Python :: 3.9", |
35 | 33 | "Programming Language :: Python :: 3.10", |
@@ -300,6 +298,11 @@ def run(self): |
300 | 298 | tempdir = tempfile.TemporaryDirectory(prefix='test_pyyaml') |
301 | 299 |
|
302 | 300 | try: |
| 301 | + warnings.warn( |
| 302 | + "Direct invocation of `setup.py` is deprecated by `setuptools` and will be removed in a future release. PyYAML tests should be run via `pytest`.", |
| 303 | + DeprecationWarning, |
| 304 | + ) |
| 305 | + |
303 | 306 | # have to create a subdir since we don't get dir_exists_ok on copytree until 3.8 |
304 | 307 | temp_test_path = pathlib.Path(tempdir.name) / 'pyyaml' |
305 | 308 | shutil.copytree(build_cmd.build_lib, temp_test_path) |
@@ -351,5 +354,5 @@ def run(self): |
351 | 354 |
|
352 | 355 | distclass=Distribution, |
353 | 356 | cmdclass=cmdclass, |
354 | | - python_requires='>=3.6', |
| 357 | + python_requires='>=3.8', |
355 | 358 | ) |
0 commit comments