|
1 | 1 |
|
2 | 2 | NAME = 'PyYAML' |
3 | | -VERSION = '6.0.1' |
| 3 | +VERSION = '7.0.0.dev0' |
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", |
@@ -301,6 +299,11 @@ def run(self): |
301 | 299 | tempdir = tempfile.TemporaryDirectory(prefix='test_pyyaml') |
302 | 300 |
|
303 | 301 | try: |
| 302 | + warnings.warn( |
| 303 | + "Direct invocation of `setup.py` is deprecated by `setuptools` and will be removed in a future release. PyYAML tests should be run via `pytest`.", |
| 304 | + DeprecationWarning, |
| 305 | + ) |
| 306 | + |
304 | 307 | # have to create a subdir since we don't get dir_exists_ok on copytree until 3.8 |
305 | 308 | temp_test_path = pathlib.Path(tempdir.name) / 'pyyaml' |
306 | 309 | shutil.copytree(build_cmd.build_lib, temp_test_path) |
@@ -352,5 +355,5 @@ def run(self): |
352 | 355 |
|
353 | 356 | distclass=Distribution, |
354 | 357 | cmdclass=cmdclass, |
355 | | - python_requires='>=3.6', |
| 358 | + python_requires='>=3.8', |
356 | 359 | ) |
0 commit comments