Skip to content

Commit

Permalink
docs: replace "tantale" by "laurent-laporte-pro" in documentation and…
Browse files Browse the repository at this point in the history
… links
  • Loading branch information
laurent-laporte-pro committed Nov 15, 2024
1 parent a3cb1c3 commit e2f3c28
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Other
+ install ``typing`` when building on Python 3.4 (required by Pytest->Attrs).
+ run unit tests on Wrapt 1.13 (release candidate).

- Migrating project to `travis-ci.com <https://travis-ci.com/github/tantale/deprecated>`_.
- Migrating project to `travis-ci.com <https://www.travis-ci.com/github/tantale/deprecated>`_.


v1.2.12 (2021-03-13)
Expand Down Expand Up @@ -168,7 +168,7 @@ Bug fix release
Fix
---

- Fix #20: Set the :func:`warnings.warn` stacklevel to 2 if the Python implementation is `PyPy <https://www.pypy.org/>`_.
- Fix #20: Set the :func:`warnings.warn` stacklevel to 2 if the Python implementation is `PyPy <https://pypy.org/>`_.

- Fix packit configuration: use ``dist-git-branch: fedora-all``.

Expand Down Expand Up @@ -471,7 +471,7 @@ Added
Other
-----

- Improve `Travis <https://travis-ci.com/>`_ configuration file (compatibility from Python 2.6 to 3.7-dev, and PyPy).
- Improve `Travis <https://www.travis-ci.com/>`_ configuration file (compatibility from Python 2.6 to 3.7-dev, and PyPy).
- Add `AppVeyor <https://www.appveyor.com/docs/>`_ configuration file.
- Add `Tox <https://tox.readthedocs.io/en/latest/>`_ configuration file.
- Add `BumpVersion <https://github.com/peritus/bumpversion>`_ configuration file.
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ First time setup

- Add the main repository as a remote to update later::

git remote add tantale https://github.com/tantale/deprecated.git
git fetch tantale
git remote add upstream https://github.com/laurent-laporte-pro/deprecated.git
git fetch upstream

- Create a virtualenv::

Expand All @@ -72,7 +72,7 @@ First time setup
.. _latest version of git: https://git-scm.com/downloads
.. _username: https://help.github.com/articles/setting-your-username-in-git/
.. _email: https://help.github.com/articles/setting-your-commit-email-address-in-git/
.. _Fork: https://github.com/tantale/deprecated#fork-destination-box
.. _Fork: https://github.com/laurent-laporte-pro/deprecated#fork-destination-box
.. _Clone: https://help.github.com/articles/fork-a-repo/#step-2-create-a-local-clone-of-your-fork

Start coding
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
Python ``@deprecated`` decorator to deprecate old python classes, functions or methods.


[![license](https://img.shields.io/badge/license-MIT-blue?logo=opensourceinitiative&logoColor=white)](https://raw.githubusercontent.com/tantale/deprecated/master/LICENSE.rst)
[![GitHub release](https://img.shields.io/github/v/release/tantale/deprecated?logo=github&logoColor=white)](https://github.com/tantale/deprecated/releases/latest)
[![license](https://img.shields.io/badge/license-MIT-blue?logo=opensourceinitiative&logoColor=white)](https://raw.githubusercontent.com/laurent-laporte-pro/deprecated/master/LICENSE.rst)
[![GitHub release](https://img.shields.io/github/v/release/laurent-laporte-pro/deprecated?logo=github&logoColor=white)](https://github.com/laurent-laporte-pro/deprecated/releases/latest)
[![PyPI](https://img.shields.io/pypi/v/deprecated?logo=pypi&logoColor=white)](https://pypi.org/project/Deprecated/)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/tantale/deprecated/python-package.yml?logo=github&logoColor=white)](https://github.com/tantale/deprecated/actions/workflows/python-package.yml)
[![Coveralls branch](https://img.shields.io/coverallsCoverage/github/tantale/deprecated?logo=coveralls&logoColor=white)](https://coveralls.io/github/tantale/deprecated?branch=master)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/laurent-laporte-pro/deprecated/python-package.yml?logo=github&logoColor=white)](https://github.com/laurent-laporte-pro/deprecated/actions/workflows/python-package.yml)
[![Coveralls branch](https://img.shields.io/coverallsCoverage/github/laurent-laporte-pro/deprecated?logo=coveralls&logoColor=white)](https://coveralls.io/github/laurent-laporte-pro/deprecated?branch=master)
[![Read the Docs (version)](https://img.shields.io/readthedocs/deprecated/latest?logo=readthedocs&logoColor=white)
](http://deprecated.readthedocs.io/en/latest/?badge=latest)

Expand Down Expand Up @@ -62,7 +62,7 @@ def some_old_function(x, y):

The authors of this library are:
[Marcos CARDOSO](https://github.com/vrcmarcos), and
[Laurent LAPORTE](https://github.com/tantale).
[Laurent LAPORTE](https://github.com/laurent-laporte-pro).

The original code was made in [this StackOverflow post](https://stackoverflow.com/questions/2536307) by
[Leandro REGUEIRO](https://stackoverflow.com/users/1336250/leandro-regueiro),
Expand Down
2 changes: 1 addition & 1 deletion deprecated/sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __init__(
Add the *extra_stacklevel* parameter.
"""
if not version:
# https://github.com/tantale/deprecated/issues/40
# https://github.com/laurent-laporte-pro/deprecated/issues/40
raise ValueError("'version' argument is required in Sphinx directives")
self.directive = directive
self.line_length = line_length
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ update the code from the master branch:

.. code-block:: sh
pip install -U https://github.com/tantale/deprecated/archive/master.tar.gz
pip install -U https://github.com/laurent-laporte-pro/deprecated/archive/master.tar.gz
.. _install-install-virtualenv:

Expand Down
2 changes: 1 addition & 1 deletion docs/source/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Introduction
What "Deprecated" Means
-----------------------

.. _Deprecated Library: https://pypi.python.org/pypi/deprecated
.. _Deprecated Library: https://pypi.org/project/Deprecated/

A function or class is deprecated when it is considered as it is no longer important. It is so unimportant, in fact, that you should no longer use it, since it has been superseded and may cease to exist in the future.

Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Controlling warnings
--------------------
.. _Python warning control: https://docs.python.org/3/library/warnings.html
.. _-W: https://docs.python.org/3/using/cmdline.html#cmdoption-w
.. _-W: https://docs.python.org/3/using/cmdline.html#cmdoption-W
.. _PYTHONWARNINGS: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONWARNINGS
Warnings are emitted using the `Python warning control`_. By default, Python installs several warning filters,
Expand Down
8 changes: 4 additions & 4 deletions docs/source/white_paper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The Python Standard Library
---------------------------

:Library: Python_
:GitHub: `python/cpython <https://github.com/python/cpython.git>`_.
:GitHub: `python/cpython <https://github.com/python/cpython>`_.
:Version: v3.8.dev

An example of function deprecation can be found in the :mod:`urllib` module (:file:`Lib/urllib/parse.py`):
Expand Down Expand Up @@ -122,7 +122,7 @@ The Flask Library
-----------------

:Library: Flask_
:GitHub: `pallets/flask <https://github.com/pallets/flask.git>`_.
:GitHub: `pallets/flask <https://github.com/pallets/flask>`_.
:Version: v1.1.dev

In the source code of Flask, we find only few deprecations: in the :mod:`~flask.app` (:file:`flask/app.py`)
Expand Down Expand Up @@ -196,7 +196,7 @@ The Django Library
------------------

:Library: Django
:GitHub: `django/django <https://github.com/django/django.git>`_.
:GitHub: `django/django <https://github.com/django/django>`_.
:Version: v3.0.dev

The `Django`_ Library defines several categories for deprecation in the module :mod:`django.utils.deprecation`:
Expand Down Expand Up @@ -283,7 +283,7 @@ The lxml Library
----------------

:Library: lxml_
:GitHub: `lxml/lxml <https://github.com/lxml/lxml.git>`_.
:GitHub: `lxml/lxml <https://github.com/lxml/lxml>`_.
:Version: v4.3.2.dev

The lxml_ Library is developed in Cython, not Python. But, it is a similar language.
Expand Down
2 changes: 1 addition & 1 deletion python-deprecated.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Version: 1.2.15
Release: 1%{?dist}
Summary: Python decorator to deprecate old python classes, functions or methods
License: MIT
URL: https://github.com/tantale/%{pkgname}
URL: https://github.com/laurent-laporte-pro/%{pkgname}
Source0: %{pypi_source}
BuildArch: noarch

Expand Down
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ def function_three():
Links
`````
* `Python package index (PyPi) <https://pypi.python.org/pypi/deprecated>`_
* `GitHub website <https://github.com/tantale/deprecated>`_
* `Python package index (PyPi) <https://pypi.org/project/Deprecated/>`_
* `GitHub website <https://github.com/laurent-laporte-pro/deprecated>`_
* `Read The Docs <https://readthedocs.org/projects/deprecated>`_
* `EBook on Lulu.com <http://www.lulu.com/commerce/index.php?fBuyContent=21305117>`_
* `StackOverFlow Q&A <https://stackoverflow.com/a/40301488/1513933>`_
* `Development version
<https://github.com/tantale/deprecated/zipball/master#egg=Deprecated-dev>`_
<https://github.com/laurent-laporte-pro/deprecated/zipball/master#egg=Deprecated-dev>`_
"""

Expand All @@ -145,11 +145,11 @@ def function_three():
setup(
name="Deprecated",
version="1.2.15",
url="https://github.com/tantale/deprecated",
url="https://github.com/laurent-laporte-pro/deprecated",
project_urls={
"Documentation": "https://deprecated.readthedocs.io/en/latest/",
"Source": "https://github.com/tantale/deprecated",
"Bug Tracker": "https://github.com/tantale/deprecated/issues",
"Source": "https://github.com/laurent-laporte-pro/deprecated",
"Bug Tracker": "https://github.com/laurent-laporte-pro/deprecated/issues",
},
license="MIT",
author="Laurent LAPORTE", # since v1.1.0
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sphinx_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class MySubClass(MyBaseClass):
sys.version_info < (3, 3), reason="Classes should have mutable docstrings -- resolved in python 3.3"
)
def test_isinstance_versionadded():
# https://github.com/tantale/deprecated/issues/48
# https://github.com/laurent-laporte-pro/deprecated/issues/48
@deprecated.sphinx.versionadded(version="X.Y", reason="some reason")
class VersionAddedCls:
pass
Expand Down

0 comments on commit e2f3c28

Please sign in to comment.