Skip to content

Commit

Permalink
Merge pull request #228 from DiffSK/5.0.x
Browse files Browse the repository at this point in the history
Teeing up version 5.0.7
  • Loading branch information
robdennis authored Jan 17, 2023
2 parents 148d8f8 + 500cdaa commit 62c2c88
Show file tree
Hide file tree
Showing 24 changed files with 242 additions and 3,419 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Python package

on: [push]

jobs:
build-on-latest:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest coverage pytest-cov six mock
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e .
- name: Test with pytest
run: |
python src/tests/configobj_doctests.py
python -m configobj.validate
py.test -c setup.cfg --color=yes --cov=configobj --cov-report=term --cov-report=html --cov-report=xml
build-on-legacy:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [ "2.7", "3.5", "3.6" ]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest coverage pytest-cov six mock
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e .
- name: Test with pytest
run: |
python src/tests/configobj_doctests.py
python -m configobj.validate
py.test -c setup.cfg --color=yes --cov=configobj --cov-report=term --cov-report=html --cov-report=xml
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

28 changes: 28 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Changelog
---------

Release 5.0.7
"""""""""""""

* update testing to validate against python version 2.7 and 3.5-3.11
* update broken links / non-existent services and references

Older Releases
""""""""""""""

* Release 5.0.6 improves error messages in certain edge cases
* Release 5.0.5 corrects a unicode-bug that still existed in writing files
* Release 5.0.4 corrects a unicode-bug that still existed in reading files after
fixing lists of string in 5.0.3
* Release 5.0.3 corrects errors related to the incorrectly handling unicode
encoding and writing out files
* Release 5.0.2 adds a specific error message when trying to install on
Python versions older than 2.5
* Release 5.0.1 fixes a regression with unicode conversion not happening
in certain cases PY2
* Release 5.0.0 updates the supported Python versions to 2.6, 2.7, 3.2, 3.3
and is otherwise unchanged
* Release 4.7.2 fixes several bugs in 4.7.1
* Release 4.7.1 fixes a bug with the deprecated options keyword in 4.7.0.
* Release 4.7.0 improves performance adds features for validation and
fixes some bugs.
9 changes: 5 additions & 4 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
Copyright (c):
2003-2010, Michael Foord
2014, Eli Courtwright, Rob Dennis
2003-2010, Michael Foord, Nicola Larosa
2014-2023, Eli Courtwright, Rob Dennis
All rights reserved.
E-mails :
fuzzyman AT voidspace DOT org DOT uk
michael AT python DOT org
nico AT tekNico DOT net
eli AT courtwright DOT org
rdennis AT gmail DOT com

Expand All @@ -12,7 +13,7 @@ Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:


2014
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

Expand Down
53 changes: 33 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,40 @@
configobj [![Build Status](https://travis-ci.org/DiffSK/configobj.svg?branch=master)](https://travis-ci.org/DiffSK/configobj)[![Downloads](https://pypip.in/d/configobj/badge.png)](https://crate.io/packages/configobj)[![PyPI version](https://badge.fury.io/py/configobj.png)](http://badge.fury.io/py/configobj)[![Coverage Status](https://coveralls.io/repos/DiffSK/configobj/badge.png?branch=master)](https://coveralls.io/r/DiffSK/configobj?branch=master)
=========
# configobj
[![Coverage Status](https://img.shields.io/coveralls/DiffSK/configobj.svg)](https://coveralls.io/r/DiffSK/configobj?branch=master)
[![PyPI version](http://img.shields.io/pypi/v/configobj.svg)](https://pypi.python.org/pypi/configobj)
[![License](https://img.shields.io/badge/license-BSD_3--clause-red.svg)](https://github.com/DiffSK/configobj/blob/master/LICENSE)


Python 3+ compatible port of the [configobj](https://pypi.python.org/pypi/configobj/) library.

Documentation
=========
Found at [readthedocs](http://configobj.readthedocs.org/)
The Github CI/CD Pipeline runs tests on python versions:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9
- 3.10
- 3.11

Status
=========
This project is now maintained by [Eli Courtwright](https://github.com/EliAndrewC) and [Rob Dennis](https://github.com/robdennis) with the blessing of original creator [Michael Foord](http://www.voidspace.org.uk/).

For long time ConfigObj users, the biggest change is in the officially supported python versions:
- 2.6
- 2.7
- 3.2
- 3.3
## Documentation

You can find a full manual on how to use ConfigObj at [readthedocs](http://configobj.readthedocs.io/).

## Status

This is a mature project that is not actively maintained at this time.

(notably adding python 3 support; previously this was 2.3 - 2.6)
Other versions may work, but this is what travis and tox uses to run the tests on commit.
## Past Contributors:

Roadmap
=========
- Fixing any issues introduced as a result of the added python 3 support
- Moving tests away from doctests in favor of pytest (reasonable now that versions older than 2.6 are dropped)
- Considering new features that work in a backwards-compatible way (feel free to open an issue with your suggestion)
- [Michael Foord](https://agileabstractions.com/)
- original creator of ``configobj`` and ``validate`` and maintainer through version 4
- [Rob Dennis](https://github.com/robdennis)
- released version 5 (first python 3-compatible release) in 2014, bringing the project to github
- released the last maintenance release (until new maintainership is established) in 2023
- [Eli Courtwright](https://github.com/EliAndrewC)
- released version 5 (first python 3-compatible release) in 2014
- [Nicola Larosa](https://pypi.org/user/tekNico/)
- Contributions to the pre-version 5 codebase
- [Jürgen Hermann](https://github.com/jhermann)
- day-to-day maintenance of the repo
1 change: 0 additions & 1 deletion _version.py

This file was deleted.

Loading

0 comments on commit 62c2c88

Please sign in to comment.