Pyar Meetup 2022
This package was created as a demo following this guide https://packaging.python.org/en/latest/tutorials/packaging-projects/ on 8 Feb 2022
Instructions
- Create an activate a virtualenv
python3 -m pip install --upgrade pip # Install project dependencies
python3 -m pip install --upgrade build # Build wheels and sdist from source files
python3 -m pip install --upgrade twine # Upload wheels and sdists to pypi
python3 -m pip install --upgrade wheel # To be able to install from wheels instead of sdists
#or just
python3 -m pip install --upgrade pip build twine wheel
- Build wheel and sdist (zip of source tree) from source
* Creating venv isolated environment...
* Installing packages in isolated environment... (setuptools>=42, wheel)
* Getting dependencies for sdist...
* Building sdist...
* Building wheel from sdist
* Creating venv isolated environment...
* Installing packages in isolated environment... (setuptools>=42, wheel)
* Getting dependencies for wheel...
* Installing packages in isolated environment... (wheel)
* Building wheel...
Successfully built pyarmeetup2020-0.0.1.tar.gz and pyarmeetup2020_ambro17-0.0.1-py3-none-any.whl
And then check with
$ ls dist/
pyarmeetup2020-0.0.1.tar.gz pyarmeetup2020-0.0.1-py3-none-any.whl
- Upload wheel and sdist to pypi
twine upload --repository testpypi dist/*
- Test it
Run
pythonand then
>>> from pyarmeetup2020 import example
>>> example.should_i_pin_pip()
'Probably not'
Expected Error While Installing Bad Lib
ERROR: Cannot install pyarmeetup2020 and pyarmeetup2020==0.0.2 because these package versions have conflicting dependencies.
The conflict is caused by:
pyarmeetup2020 0.0.2 depends on Flask>=2.0.2
elpasado 0.0.4 depends on Flask==1.0.1
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
With pip 20.2.0
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
elpasado 0.0.7 requires Flask==1.0.1, but you'll have flask 2.0.2 which is incompatible.
DO NOT PIN PIP!! Solve the root problem!
Metadata
Release files for pyarmeetup2020 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyarmeetup2020-0.4.tar.gz | 4.1 kB | Without provenance | Details for pyarmeetup2020-0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyarmeetup2020-0.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pyarmeetup2020-0.4-py2.py3-none-any.whl |
Total release size: 7.5 kB
Release files / pyarmeetup2020-0.4.tar.gz
| Download URL | pyarmeetup2020-0.4.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a19beead6007e2cdba60775b6801cf08b47f8fd427865b590c681f45009d0174
|
|
BLAKE2b-256 checksum How to use checksums |
cc8be267bf0ecada12881c3741c41413438856d41cab76363cd9d5388fe66370
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Release files / pyarmeetup2020-0.4-py2.py3-none-any.whl
| Download URL | pyarmeetup2020-0.4-py2.py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4fc4b899c75a73966afc2f78f0b07e7d2fdaf562b571178a73c95fdb9b3e25e3
|
|
BLAKE2b-256 checksum How to use checksums |
44b7601f0b735d7ea44c1c41554aa22b3dd1a8d7ecbeb0c78edc87640c4bab9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Security for pyarmeetup2020 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.