[RELEASE] Python 2.7.16 release candidate 1

2019-02-18 Thread Benjamin Peterson
I'm pleased to announce the immediate availability of Python 2.7.16 release 
candidate 1. This is a prerelease for yet another bug fix release in the Python 
2.7.x series. It includes over 100 fixes over Python 2.7.15. See the changelog 
at


https://raw.githubusercontent.com/python/cpython/baacaac06f93dd624c9d7b3bac0e13fbe34f2d8c/Misc/NEWS.d/2.7.16rc1.rst

for full details.

Downloads are at:

https://www.python.org/downloads/release/python-2716rc1/

Please test your software against the new release and report any issues to

https://bugs.python.org/

If all goes according to plan, Python 2.7.16 final will be released on March 2.

All the best,
Benjamin
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


fades 8.1 released

2019-02-18 Thread Facundo Batista
Hello all,

We're glad to announce the release of fades 8.1.

fades is a system that automatically handles the virtualenvs in the
cases normally found when writing scripts and simple programs, and
even helps to administer big projects.

It will automagically create a new virtualenv (or reuse a previous
created one), installing the necessary dependencies, and execute
your script inside that virtualenv.

You only need to execute the script with fades (instead of Python) and
also mark the required dependencies. More details here:

http://fades.rtfd.org/


What's new in this release?

- Automatically execute scripts from the web, supporting most common pastebins

- Multiple (and missing) requirement.txt file support, which can now be nested

- Avoid checking package availability if no PyPI dependencies indicated

- Add an option to show the virtualenv path in the system

- Better error/help on missing indicated script or executable from dependency

- Improved logs, PyPI urls, documentation, multiplatform support, and
several other small fixes/enhancements


Nicolás and I want to say a big thank you to the following collaborators
that helped to improve and enhance fades in different ways for this
version (in alphabetical order):

Andrés Delfino - https://github.com/andresdelfino
Iñaki Malerba - https://github.com/inakimalerba
Martin Alderete - https://github.com/malderete


To install and enjoy fades...

- If you are in Ubuntu or Debian, you can easily install like this
(but probably won't get *latest* fades:

sudo apt-get install fades

- For not latest debian/ubuntu you have a .deb here (with its Debian
source file):

http://ftp.debian.org/debian/pool/main/f/fades/fades_8.1-1_all.deb
http://ftp.debian.org/debian/pool/main/f/fades/fades_8.1-1.dsc

- Install it in Arch is very simple:

yaourt -S fades

- In any Linux if you have the Snap system:

snap install fades

- Using pip if you want:

pip3 install fades

- You can always get the multiplatform tarball and install it in the
old fashion way:

wget http://ftp.debian.org/debian/pool/main/f/fades/fades_8.1.orig.tar.gz
tar -xf fades_*.tar.gz
cd fades-*
sudo ./setup.py install


Help / questions:

- You can ask any question or send any recommendation or request
in the Telegram group:

https://t.me/fadesmagic

...or to the mailing list...

http://listas.python.org.ar/mailman/listinfo/fades

...or in the #fades IRC channel (in Freenode).

- Also, you can open an issue here (please do if you find any problem!).

https://github.com/PyAr/fades/issues/new

- The project itself is in

https://github.com/PyAr/fades

It's very easy to run latest development version:

git clone https://github.com/PyAr/fades.git
cd fades
bin/fades


Thanks in advance for your time!

-- 
.Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org.ar/
Twitter: @facundobatista
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: psutil 5.5.1 is out

2019-02-18 Thread Giampaolo Rodola'
Hello all,
I'm glad to announce the release of psutil 5.5.1:
https://github.com/giampaolo/psutil

About
=

psutil (process and system utilities) is a cross-platform library for
retrieving information on running processes and system utilization (CPU,
memory, disks, network) in Python. It is useful mainly for system
monitoring, profiling and limiting process resources and management of
running processes. It implements many functionalities offered by command
line tools such as: ps, top, lsof, netstat, ifconfig, who, df, kill, free,
nice, ionice, iostat, iotop, uptime, pidof, tty, taskset, pmap. It
currently supports Linux, Windows, macOS, Sun Solaris, FreeBSD, OpenBSD,
NetBSD and AIX, both 32-bit and 64-bit architectures, with Python versions
from 2.6 to 3.6. PyPy is also known to work.

What's new
==

2019-02-15

**Enhancements**

- #1348: [Windows] on Windows >= 8.1 if Process.cmdline() fails due to
  ERROR_ACCESS_DENIED attempt using NtQueryInformationProcess +
  ProcessCommandLineInformation. (patch by EccoTheFlintstone)

**Bug fixes**

- #1394: [Windows] Process.exe() returns "[Error 0] The operation completed
  successfully" when Python process runs in "Virtual Secure Mode".
- #1402: psutil exceptions' repr() show the internal private module path.
- #1408: [AIX] psutil won't compile on AIX 7.1 due to missing header.
(patch
  by Arnon Yaari)

Links
=

- Home page: https://github.com/giampaolo/psutil
- Download: https://pypi.org/project/psutil/#files
- Documentation: http://psutil.readthedocs.io
- What's new: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst

--

Giampaolo - http://grodola.blogspot.com
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: SciPy 1.2.1

2019-02-18 Thread Tyler Reddy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

On behalf of the SciPy development team I'm pleased to announce
the release of SciPy 1.2.1, which is a bug fix release.

Sources and binary wheels can be found at:
https://pypi.org/project/scipy/
and at: https://github.com/scipy/scipy/releases/tag/v1.2.1

One of a few ways to install this release with pip:

pip install scipy==1.2.1

==
SciPy 1.2.1 Release Notes
==

SciPy 1.2.1 is a bug-fix release with no new features compared to 1.2.0.
Most importantly, it solves the issue that 1.2.0 cannot be installed
from source on Python 2.7 because of non-ASCII character issues.

It is also notable that SciPy 1.2.1 wheels were built with OpenBLAS
0.3.5.dev, which may alleviate some linear algebra issues observed
in SciPy 1.2.0.

Authors
===

* Eric Larson
* Mark Mikofski
* Evgeni Burovski
* Ralf Gommers
* Eric Moore
* Tyler Reddy

Issues closed for 1.2.1


* `#9606 `__: SyntaxError:
Non-ASCII character '\xe2' in file scipy/stats/_continuous_distns.py on
line 3346, but no encoding declared
* `#9608 `__: Version 1.2.0
introduces `too many indices for array` error in...
* `#9709 `__:
scipy.stats.gaussian_kde normalizes the weights keyword argument...
* `#9733 `__:
scipy.linalg.qr_update gives NaN result
* `#9724 `__: CI: Is
scipy.scipy Windows Python36-32bit-full working?

Pull requests for 1.2.1


* `#9612 `__: BUG: don't use
array newton unless size is greater than 1
* `#9615 `__: ENH: Add test for
encoding
* `#9720 `__: BUG: stats:
weighted KDE does not modify the weights array
* `#9739 `__: BUG: qr_updates
fails if u is exactly in span Q
* `#9725 `__: TST: pin mingw for
Azure Win CI
* `#9736 `__: TST: adjust to
vmImage dispatch in Azure
* `#9681 `__: BUG: Fix failing
stats tests (partial backport)
* `#9662 `__: TST: interpolate:
avoid pytest deprecations

Checksums
=

MD5
~~~

982810997da9daab2e512a6c27918889
scipy-1.2.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
9500cad49b7eac9786c90cba146ad357  scipy-1.2.1-cp27-cp27m-manylinux1_i686.whl
fe9ba7f16e0e7f7c9cd59d39ea8e9545
scipy-1.2.1-cp27-cp27m-manylinux1_x86_64.whl
f1823b26b2afda2027f78df427791700  scipy-1.2.1-cp27-cp27m-win32.whl
c0692c60b4baaafd99fb2bf0c689bbf1  scipy-1.2.1-cp27-cp27m-win_amd64.whl
b5a5b9b146bac064a7921c5121d5e19c
scipy-1.2.1-cp27-cp27mu-manylinux1_i686.whl
fd637f4dc4308ae9cf7655e3e5f3a27d
scipy-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl
8faae90250009230cd2f7845ba4735f2
scipy-1.2.1-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
a28a93cb20987666f788d43c50e2ab79  scipy-1.2.1-cp34-cp34m-manylinux1_i686.whl
26264ebb568728065e3ef73b5419793a
scipy-1.2.1-cp34-cp34m-manylinux1_x86_64.whl
fbb79da3d5823ba0f23b0f8d50023bfd  scipy-1.2.1-cp34-cp34m-win32.whl
f82cf6834e4e2a2e4008fec5da2f4b0b  scipy-1.2.1-cp34-cp34m-win_amd64.whl
cc248fd969b11589d98bcb550330e08d
scipy-1.2.1-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
3b5e8eb89a49fb7bc506cf17a54b926b  scipy-1.2.1-cp35-cp35m-manylinux1_i686.whl
0cd66785fd9f8390494f42beb499f56a
scipy-1.2.1-cp35-cp35m-manylinux1_x86_64.whl
379d37ae932af2096e037b4defd4cf60  scipy-1.2.1-cp35-cp35m-win32.whl
5dd4c47c501c96dc0c20b72521058133  scipy-1.2.1-cp35-cp35m-win_amd64.whl
6fa013443295e55c96eb174578dcffee
scipy-1.2.1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
5069317ab38e3dfbb8923341c2b23a69  scipy-1.2.1-cp36-cp36m-manylinux1_i686.whl
8e6a1fd1354428074d8457fe46cd4f7c
scipy-1.2.1-cp36-cp36m-manylinux1_x86_64.whl
27142bff898a18368032165c27c11466  scipy-1.2.1-cp36-cp36m-win32.whl
489fd885aefd07bded69a8e0452c16b0  scipy-1.2.1-cp36-cp36m-win_amd64.whl
84ef33013d9871f23db0ecad25552636
scipy-1.2.1-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
7b7ae846b70e60188b3d772e9d60d3d2  scipy-1.2.1-cp37-cp37m-manylinux1_i686.whl
21b29788cd2c037366d2ff5d54ae7517
scipy-1.2.1-cp37-cp37m-manylinux1_x86_64.whl
e11ce933d012481ea27fe49314b606aa  scipy-1.2.1-cp37-cp37m-win32.whl
23424815af8e69f945bb406a0c1be6c6  scipy-1.2.1-cp37-cp37m-win_amd64.whl
fe88877767563e50078df86dadf7b1f4  scipy-1.2.1.tar.gz
312110f3ea37269003e587207eb72855  

pytest 4.2.1 released

2019-02-18 Thread Bruno Oliveira
pytest-4.2.1
===

pytest 4.2.1 has just been released to PyPI.

This is a bug-fix release, being a drop-in replacement. To upgrade::

  pip install --upgrade pytest

The full changelog is available at
https://docs.pytest.org/en/latest/changelog.html.

This release fixes the recent problems with more-itertools 6.0 on Python 2.

Thanks to all who contributed to this release, among them:

* Anthony Sottile
* Arel Cordero
* Bruno Oliveira
* Daniel Hahler
* Holger Kohr
* Kevin J. Foley
* Nick Murphy
* Paweł Stradomski
* Raphael Pierzina
* Ronny Pfannschmidt
* Sam Brightman
* Thomas Hisch
* Zac Hatfield-Dodds


Happy testing,
The pytest Development Team
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


New docs: using tkinter GUIs on Android

2019-02-18 Thread Mark Lutz
I've just posted guides for running Python tkinter programs on 
Android in the Pydroid 3 app's IDE.  The first covers multiple
programs, and the second focuses on a content-sync program:

  https://learning-python.com/using-tkinter-programs-on-android.html 
  https://learning-python.com/mergeall-android-scripts/_README.html

And yes, you read that right: Python tkinter GUIs, including 
the calendar, calculator, text editor, and incremental backup 
tool described in these docs, now work on your smartphone in 
addition to your PC, though they come with a few rough edges 
(and advertising) on Android today.

And there was much rejoicing,
--M. Lutz (http://learning-python.com)
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


CheetahTemplate 3.2.0

2019-02-18 Thread Oleg Broytman
Hello!

I'm pleased to announce version 3.2.0, the first stable release of branch
3.2 of CheetahTemplate3.


What's new in CheetahTemplate3
==

Features:

  - Dropped support for Python 3.3.
  - Implement LoadTemplate.loadTemplate{Module,Class} to load templates
from .py[co], .py or .tmpl.
  - CheetahDirOwner caches compiled template in the template directory.
  - CheetahDirOwner now silently ignores errors on compiled templates
writing. To get tracebacks set CheetahDirOwner.debuglevel = 1.
  - CheetahDirOwner and DirOwner byte-compile compiled templates
to .pyc/.pyo. Errors on writing are silently ignored.

Minor features:

  - Implement Compiler.__unicode__ under Python 2 and Compiler.__bytes__
under Python 3.

Bug fixes:

  - Fix a bug in Compiler.__str__: under Python 2 the method now always
returns str; it encodes unicode to str using encoding from the
compiled source. Under Python 3 the method decodes bytes to str.

Code:

  - Source code was made flake8-clean using the latest flake8.

Documentation:

  - Remove outdated section markers.
  - Better documentation for ImportHooks.
  - Add an example of a universal makefile.

CI:

  - Run tests with Python 3.7.
  - At travis deploy sdists and wheels for tags.


What is CheetahTemplate3


Cheetah3 is a free and open source template engine.
It's a fork of the original CheetahTemplate library.

Python 2.7 or 3.4+ is required.


Where is CheetahTemplate3
=

Site:
http://cheetahtemplate.org/

Development:
https://github.com/CheetahTemplate3

Download:
https://pypi.org/project/Cheetah3/3.2.0/

News and changes:
http://cheetahtemplate.org/news.html

StackOverflow:
https://stackoverflow.com/questions/tagged/cheetah


Example
===

Below is a simple example of some Cheetah code, as you can see it's practically
Python. You can import, inherit and define methods just like in a regular Python
module, since that's what your Cheetah templates are compiled to :) ::

#from Cheetah.Template import Template
#extends Template

#set $people = [{'name' : 'Tom', 'mood' : 'Happy'}, {'name' : 'Dick',
'mood' : 'Sad'}, {'name' : 'Harry', 'mood' : 
'Hairy'}]

How are you feeling?

#for $person in $people

$person['name'] is $person['mood']

#end for


Oleg.
-- 
Oleg Broytmanhttps://phdru.name/p...@phdru.name
   Programmers don't die, they just GOSUB without RETURN.
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


cx_Oracle 7.1

2019-02-18 Thread Anthony Tuininga
What is cx_Oracle?

cx_Oracle is a Python extension module that enables access to Oracle
Database for Python 3.x and 2.x and conforms to the Python database API 2.0
specifications with a number of enhancements.


Where do I get it?
https://oracle.github.io/python-cx_Oracle

The easiest method to install/upgrade cx_Oracle is via pip as in

python -m pip install cx_Oracle --upgrade


What's new?

This release focused on session pools. Specifically, a session callback may
now be specified when a pool is created. This allows an application to
improve performance by reducing the number of round trips to the database
needed in order to set session state.

A number of smaller enhancements and bug fixes were also made. See the full
release notes for all of the details:
https://cx-oracle.readthedocs.io/en/latest/releasenotes.html#version-7-1-february-2019

Please provide any feedback via GitHub issues (
https://github.com/oracle/python-cx_Oracle/issues).
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


SciPy 2019 Conference - 10 days left for submissions, registration now open

2019-02-18 Thread Paul Ivanov
SciPy 2019, the 18th annual Scientific Computing with Python conference,
will be held July 8-14, 2019 in Austin, Texas. The annual SciPy Conference
brings together over 800 participants from industry, academia, and
government to showcase their latest projects, learn from skilled users and
developers, and collaborate on code development. The call for abstracts for
SciPy 2019 for talks, posters and tutorials is now open. The original
deadline for submissions has been extended and the new deadline is February
15, 2019.

Conference Website: https://www.scipy2019.scipy.org/

Submission Website: https://easychair.org/conferences/?conf=scipy2019

*Talks and Posters (July 10-12, 2019)*
In addition to the general track, this year will have specialized tracks
focused on:


   - Data Driven Discoveries (including Machine Learning and Data Science)
   - Open Source Communities (Sustainability)


*Mini Symposia*

   - Science Communication through Visualization
   - Neuroscience and Cognitive Science
   - Image Processing
   - Earth, Ocean, Geo and Atmospheric Science


There will also be a SciPy Tools Plenary Session each day with 2 to 5
minute updates on tools and libraries.

*Tutorials (July 8-9, 2019)*

Tutorials should be focused on covering a well-defined topic in a hands-on
manner. We are looking for useful techniques or packages, helping new or
advanced Python programmers develop better or faster scientific
applications. We encourage submissions to be designed to allow at least 50%
of the time for hands-on exercises even if this means the subject matter
needs to be limited. Tutorials will be 4 hours in duration. In your
tutorial application, you can indicate what prerequisite skills and
knowledge will be needed for your tutorial, and the approximate expected
level of knowledge of your students (i.e., beginner, intermediate,
advanced). Instructors of accepted tutorials will receive a stipend.

-- 
   _
  / \
A*   \^   -
 ,./   _.`\\ / \
/ ,--.S\/   \
   /  `"~,_ \\
 __o   ?
   _ \<,_ /:\
--(_)/-(_).../ | \
--...J
Paul Ivanov
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7

-- 
   _
  / \
A*   \^   -
 ,./   _.`\\ / \
/ ,--.S\/   \
   /  `"~,_ \\
 __o   ?
   _ \<,_ /:\
--(_)/-(_).../ | \
--...J
Paul Ivanov
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7

-- 
   _
  / \
A*   \^   -
 ,./   _.`\\ / \
/ ,--.S\/   \
   /  `"~,_ \\
 __o   ?
   _ \<,_ /:\
--(_)/-(_).../ | \
--...J
Paul Ivanov
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/