I asked this on the composer-dev mailing list, but the community is not as active as SO.
I recently published this package on Packagist with a 1.0.0-dev version, then shortly afterwards I added some documentation and released it as 1.0.1. (Both releases done with Git tags)
In testing the deployment with a simple require foo/bar ~1.0
Composer tells me "Your requirements could not be resolved to an installable set of packages."
The same happens when I specify the explicit version as "1.0.1"
So I tried pulling it down with require foo/bar dev-master
which works fine. Then I edited composer.json changing "dev-master" to "1.0.1" and ran composer update
- This now gives a more explicit messaging saying "The requested package foo/bar 1.0.1 could not be found."
Version 1.0.1 is clearly on the Packagist website, so I don't know what I've done wrong that composer does not identify it.