summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add python 3.11 support (#663)HEADmasterMatthieu Darbois2022-09-134-31/+70
| | | | | | | | | | | | * Add python 3.11 support * ci: use `windows-2019` runners `windows-2016` runners have been removed * ci: use CPython 3.11.0-rc.2 for Windows builds Co-authored-by: Matt Davis <mrd@redhat.com>
* security disclosure docsMatt Davis2022-07-111-0/+10
|
* 6.0 release6.0Matt Davis2021-10-134-9/+9
|
* Update Python 3.10 versions for Windows buildMatt Davis2021-10-132-4/+4
|
* Add Python 3.10 to tox.iniMatt Davis2021-10-131-1/+1
|
* 6.0b1 release6.0b1Matt Davis2021-10-045-17/+45
|
* Omnibus CI/artifact build updateMatt Davis2021-09-296-397/+689
| | | | | | * Adds support for private GHA runner to build for MacOS/arm64 * Split CI/artifact build workflows (hopefully temporarily) since GHA can't do dynamic/conditional matrix * Moves Windows builds to GHA
* Various setup fixesMatt Davis2021-09-232-32/+29
| | | | | | | * enable use of setuptools-embedded distutils * list 3.10 support * remove setup.cfg (and deprecated metadata in it) * run tests on ephemeral copy of intermediate build bits
* No longer using appveyorIngy döt Net2021-09-231-33/+0
|
* The yaml.load{,_all} functions require Loader= nowIngy döt Net2021-09-232-43/+5
|
* Add a basic test file for yaml.load and yaml.dumpIngy döt Net2021-09-233-1/+26
|
* Makefile tweaksIngy döt Net2021-09-231-1/+8
|
* Fix float resolver for '.' and '._'Tina Müller2021-09-232-3/+1
| | | | | | A single dot matches the official YAML 1.1 int regex. This was probably unintended. The regex now requires at least a digit before or after the dot.
* Use with statements to eliminate ResourceWarningsThom Smith2021-09-2316-91/+145
|
* Use python3 in the MakefilePantelis Antoniou2021-09-231-1/+1
| | | | Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
* Remove Python 2 support and simplifyPantelis Antoniou2021-09-233-255/+109
| | | | | | | | | | It's time to stop pretending this is anymore compatible to version 2 by using macros to hide the fact that on 3 objects are bytes and not string. Removing the support for version 2 makes things clearer. Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
* Define PyString_GetExact as BytesPantelis Antoniou2021-09-231-2/+2
| | | | | | Puzzling, but this is the expected behaviour Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
* Fix warning errors of the libyaml bindingPantelis Antoniou2021-09-233-63/+75
| | | | | | | | Make the build work without any warnings. The cython and C yaml types were differing in definition and that's no good. Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
* Add a test for the YAML 1.1 typesTina Müller2021-09-234-0/+427
|
* Fix issue with representing Enum typesThom Smith2021-09-234-2/+6
|
* Correct spelling of “hexadecimal”Thom Smith2021-09-221-2/+2
|
* Update tox.iniThomas Smith2021-09-221-1/+1
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Remove 3.5 from AppveyorThom Smith2021-09-221-2/+0
|
* Simplify python_requiresThom Smith2021-09-221-1/+1
|
* Remove 2.7 from CIThom Smith2021-09-223-6/+0
|
* Move code from lib3 to libThom Smith2021-09-2242-6/+2
|
* Remove 2.7 supportThom Smith2021-09-2241-8265/+4
|
* Remove py35 from tox.iniThom Smith2021-09-221-1/+1
|
* Explode multiarch matrix for ML2014/aarch64/s390xMatt Davis2021-09-221-35/+40
|
* Updated the content of the README.md fileIngy döt Net2021-09-021-16/+18
|
* Change README format to MarkdownTim Hoffmann2021-09-022-43/+49
|
* 5.4.1 release5.4.1Ingy döt Net2021-01-205-21/+16
|
* Fix stub compat with older pyyaml versions that may unwittingly load itMatt Davis2021-01-202-2/+6
|
* 5.4 release5.4release/5.4Ingy döt Net2021-01-196-21/+39
|
* Fix compatibility with JythonAnish Athalye2021-01-131-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | This patch was taken from https://github.com/yaml/pyyaml/issues/369#issuecomment-571596545, authored by Pekka Klärck <peke@iki.fi>. In short, Jython doesn't support lone surrogates, so importing yaml (and in particular, loading `reader.py`) caused a UnicodeDecodeError. This patch works around this through a clever use of `eval` to defer evaluation of the string containing the lone surrogates, only doing it on non-Jython platforms. This is only done in `lib/yaml/reader.py` and not `lib3/yaml/reader.py` because Jython does not support Python 3. With this patch, Jython's behavior with respect to Unicode code points over 0xFFFF becomes as it was before 0716ae21a1e7ab6b4ef73428c0c8fff49685d057. It still does not pass all the unit tests on Jython (passes 1275, fails 3, errors on 1); all the failing tests are related to unicode. Still, this is better than simply crashing upon `import yaml`. With this patch, all tests continue to pass on Python 2 / Python 3.
* Run CI on PR base branch changesMatt Davis2021-01-131-0/+1
|
* constructor.timezone: __copy_ & __deepcopy__Ovv2021-01-132-0/+18
| | | | close #387
* Avoid repeatedly appending to yaml_implicit_resolversPhil Sphicas2021-01-132-4/+4
| | | | | | | | | | | | | | | | | | Repeated calls to `resolve` can experience performance degredation, if `add_implicit_resolver` has been called with `first=None` (to add an implicit resolver with an unspecified first character). For example, every time `foo` is encountered, the "wildcard implicit resolvers" (with `first=None`) will be appended to the list of implicit resolvers for strings starting with `f`, which will normally be the resolver for booleans. The list `yaml_implicit_resolvers['f']` will keep getting longer. The same behavior applies for any first-letter matches with existing implicit resolvers. This change avoids unintentionally mutating the lists in the class-level dict `yaml_implicit_resolvers` by looping through a temporary copy. Fixes: #439
* Fix for CVE-2020-14343Ingy döt Net2021-01-134-26/+26
| | | | | Per suggestion https://github.com/yaml/pyyaml/issues/420#issuecomment-663888344 move a few constructors from full_load to unsafe_load.
* Add 3.9 to appveyor file for completeness sakeIngy döt Net2021-01-131-0/+2
| | | | | Are we done with appveyor now? Can we just remove this file?
* Add a newline character to end of pyproject.tomlIngy döt Net2021-01-131-1/+1
| | | | | | | Is this TOML file actually needed? I'd prefer to remove it since it does so little, and stands out so prominiently.
* Start sentences and phrases for capital lettersIngy döt Net2021-01-131-35/+35
| | | | End sentences with periods.
* Shell code improvementsIngy döt Net2021-01-131-6/+4
|
* Remove unneeded quotesIngy döt Net2021-01-131-1/+1
|
* Use long forms for docker run optionsIngy döt Net2021-01-131-9/+9
|
* Better (non)use of literal form scalarsIngy döt Net2021-01-131-11/+5
|
* Replace ${{ x }} with ${{x}}Ingy döt Net2021-01-131-15/+15
| | | | | Spaces in the syntax make it harder to reason if there will be spaces in the rendering or not.
* Reduce long lines and adjust blank lines for clarityIngy döt Net2021-01-131-12/+34
|
* Don't overindent sequences in mapsIngy döt Net2021-01-131-161/+160
|
* Rename ci.yml to YAML preferred ci.yamlIngy döt Net2021-01-131-0/+0
|