Coder Social home page Coder Social logo

typing_extensions-feedstock's Introduction

About typing_extensions-feedstock

Feedstock license: BSD-3-Clause

Home: https://github.com/python/typing_extensions

Package license: PSF-2.0

Summary: Backported and Experimental Type Hints for Python

Development: https://github.com/python/typing_extensions

The typing module was added to the standard library in Python 3.5, but many new features have been added to the module since then. This means users of older Python versions who are unable to upgrade will not be able to take advantage of new types added to the typing module, such as typing.Protocol or typing.TypedDict.

The typing_extensions module contains both backports of these changes as well as experimental types that will eventually be added to the typing module, such as Protocol.

Current build status

All platforms:

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing typing_extensions

Installing typing_extensions from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, typing-extensions, typing_extensions can be installed with conda:

conda install typing-extensions typing_extensions

or with mamba:

mamba install typing-extensions typing_extensions

It is possible to list all of the versions of typing-extensions available on your platform with conda:

conda search typing-extensions --channel conda-forge

or with mamba:

mamba search typing-extensions --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search typing-extensions --channel conda-forge

# List packages depending on `typing-extensions`:
mamba repoquery whoneeds typing-extensions --channel conda-forge

# List dependencies of `typing-extensions`:
mamba repoquery depends typing-extensions --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating typing_extensions-feedstock

If you would like to improve the typing_extensions recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/typing_extensions-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

typing_extensions-feedstock's People

Contributors

beckermr avatar bgruening avatar conda-forge-admin avatar conda-forge-curator[bot] avatar djsutherland avatar github-actions[bot] avatar mariusvniekerk avatar maximlt avatar ocefpaf avatar regro-cf-autotick-bot avatar synapticarbors avatar thebestnom avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

typing_extensions-feedstock's Issues

Possible to make empty for python > 3.7?

Hi,

this package is sometimes a reason that something cannot be made noarch due to a # [py<38] clause.
Thus I wanted to ask if it might be possible to make this package empty for those python versions, similar to what was done for dataclasses: https://github.com/conda-forge/dataclasses-feedstock/tree/master/recipe
This way, the package could safely be installed under all python versions.

I'd be happy to create this PR but just wanted to check if that's something that makes sense.

Thanks!

aarch64 is not published

For some reason the aarch64 build is not uploaded and I can't find it on the azure
cc @conda-forge/core

dependencies for typing-extensions wrongly recorded?

Did something go wrong with the dependencies for the typing-extensions package here?

conda info shows:

[...]
dependencies:
    typing_extensions 3.6.6 py27_0

Which not only looks strange, but also gives me a solver bug for packages that depend on it:

conda.exceptions.UnsatisfiableError: The following specifications were found to be in conflict:
  - python=3.6
  - typing-extensions -> typing_extensions==3.6.5=py27_0 -> python[version='>=2.7,<2.8.0a0'] -> *[track_features=debug]

conda info typing-extensions

typing-extensions 3.6.6 0
-------------------------
file name   : typing-extensions-3.6.6-0.tar.bz2
name        : typing-extensions
version     : 3.6.6
build string: 0
build number: 0
channel     : https://conda.anaconda.org/conda-forge/osx-64
size        : 8 KB
arch        : x86_64
constrains  : ()
license     : PSF
license_family: PSF
md5         : 4f84c79514d31df20258704928f88540
platform    : darwin
subdir      : osx-64
timestamp   : 1538950043837
url         : https://conda.anaconda.org/conda-forge/osx-64/typing-extensions-3.6.6-0.tar.bz2
dependencies:
    typing_extensions 3.6.6 py27_0

conda info typing_extensions

typing_extensions 3.6.6 py36_0
------------------------------
file name   : typing_extensions-3.6.6-py36_0.tar.bz2
name        : typing_extensions
version     : 3.6.6
build string: py36_0
build number: 0
channel     : https://conda.anaconda.org/conda-forge/osx-64
size        : 31 KB
arch        : x86_64
constrains  : ()
license     : PSF
license_family: PSF
md5         : 9889ac041a94af4f4dab1a4b463e62af
platform    : darwin
subdir      : osx-64
timestamp   : 1538950066771
url         : https://conda.anaconda.org/conda-forge/osx-64/typing_extensions-3.6.6-py36_0.tar.bz2
dependencies:
    python >=3.6,<3.7.0a0

4.2.0 no longer supports py36

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

It looks like the newest version of typing_extensions no longer supports py36

python/typing@9a39406

But that was not reflected in the recipe
#28
https://github.com/conda-forge/typing_extensions-feedstock/blob/main/recipe/meta.yaml#L21-L26

Installed packages

atomicwrites              1.4.0              pyh9f0ad1d_0    conda-forge
attrs                     21.4.0             pyhd8ed1ab_0    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
importlib-metadata        4.8.1            py36ha15d459_0    conda-forge
importlib_metadata        4.8.1                hd8ed1ab_1    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
more-itertools            8.12.0             pyhd8ed1ab_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pluggy                    1.0.0            py36ha15d459_1    conda-forge
py                        1.11.0             pyh6c4a22f_0    conda-forge
pyparsing                 3.0.8              pyhd8ed1ab_0    conda-forge
pytest                    6.2.5            py36ha15d459_0    conda-forge
python                    3.6.13               h3758d61_0    https://repo.anaconda.com/pkgs/main
python_abi                3.6                     2_cp36m    conda-forge
sqlite                    3.38.2               h2bbff1b_0    https://repo.anaconda.com/pkgs/main
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
typing_extensions         4.2.0              pyha770c72_0    conda-forge
vc                        14.2                 h21ff451_1    https://repo.anaconda.com/pkgs/main
vs2015_runtime            14.27.29016          h5e58377_2    https://repo.anaconda.com/pkgs/main
zipp                      3.6.0              pyhd8ed1ab_0    conda-forge

Environment info

active environment : broken-package
    active env location : C:\Users\tlam\anaconda3\envs\broken-package
            shell level : 2
       user config file : C:\Users\tlam\.condarc
 populated config files : C:\Users\tlam\.condarc
          conda version : 4.9.2
    conda-build version : 3.20.5
         python version : 3.8.5.final.0
       virtual packages : __cuda=11.5=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Users\tlam\anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64 
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-64 
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\tlam\anaconda3\pkgs
                          C:\Users\tlam\.conda\pkgs
                          C:\Users\tlam\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\tlam\anaconda3\envs
                          C:\Users\tlam\.conda\envs
                          C:\Users\tlam\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Windows/10 Windows/10.0.19041
          administrator : False
             netrc file : None
           offline mode : False

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.